-
Notifications
You must be signed in to change notification settings - Fork 3
/
hosts.ini-sample
27 lines (22 loc) · 1.3 KB
/
hosts.ini-sample
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
# Make sure to have a corresponding yml file in the host_vars folder for each server here!
[vpn]
my_node ansible_host=<IP of your server>
my_prb ansible_host=<IP of your server>
my_worker1 ansible_host=<IP of your server>
my_worker2 ansible_host=<IP of your server>
[node]
my_node ansible_host=<IP of your server> vpn_ip=10.8.0.1
[prb]
my_prb ansible_host=<IP of your server> vpn_ip=10.8.0.1 data_provider_pubkey=<Data provider pubkey from monitor UI> lifecycle_pubkey=<lifecycle pubkey from monitor UI> pool_id=<your pool id>
[worker]
my_worker1 ansible_host=<IP of your server> vpn_ip=10.8.0.1 cpu_cores=14 stake=17000
my_worker2a ansible_host=<IP of your server> vpn_ip=10.8.0.2 cpu_cores=2 worker_port=8000 stake=17000
my_worker2b ansible_host=<IP of your server> vpn_ip=10.8.0.2 cpu_cores=2 worker_port=8001 stake=17000
my_worker2c ansible_host=<IP of your server> vpn_ip=10.8.0.2 cpu_cores=2 worker_port=8002 stake=17000
my_worker2d ansible_host=<IP of your server> vpn_ip=10.8.0.2 cpu_cores=2 worker_port=8003 stake=17000
my_worker2e ansible_host=<IP of your server> vpn_ip=10.8.0.2 cpu_cores=2 worker_port=8004 stake=17000
# Common variables
[all:vars]
ansible_ssh_common_args='-o StrictHostKeyChecking=no -o ConnectTimeout=15'
ansible_user=root
ansible_python_interpreter=/usr/bin/python3