-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhosts.example.yml
30 lines (30 loc) · 906 Bytes
/
hosts.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
all:
hosts:
metrics:
# public domain or IP where metrics server should be deployed
ansible_host:
# linux user to connect to ssh to the server as
ansible_user:
proxy1:
# uuid of the xray server that should be deployed (from config/servers.yml)
hosts_server_uuid:
# public domain or IP where xray should be deployed (if ssh and xray are on the same IP, it should be equal to config_servers[hosts_server_uuid].host value)
ansible_host:
# linux user to connect to ssh to the server as
ansible_user:
# more proxy servers...
proxy2:
hosts_server_uuid:
ansible_host:
ansible_user:
proxy3:
hosts_server_uuid:
ansible_host:
ansible_user:
children:
proxies:
hosts:
# don't forget to add proxy servers here (yes, as empty objects)
proxy1:
proxy2:
proxy3: