-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
25 lines (21 loc) · 828 Bytes
/
hosts
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
[all-hosts:children]
docker
ansible-master
#n0x - real name of the host x; n0xhost - ansible alias for physical hosts
#this should be changed for non-local use
[docker-host-nodes]
#n01host ansible_ssh_port=22 ansible_ssh_host=n01
#n02host ansible_ssh_port=22 ansible_ssh_host=n02
#n03host ansible_ssh_port=22 ansible_ssh_host=n03
#n04host ansible_ssh_port=22 ansible_ssh_host=n04
#n05host ansible_ssh_port=22 ansible_ssh_host=n05
#n06host ansible_ssh_port=22 ansible_ssh_host=n06
lochost ansible_ssh_port=22 ansible_ssh_host=localhost
#this should be changed for non-local use
[docker-containers]
#locdock ansible_ssh_port="{{ ssh_port_to_expose }}" ansible_ssh_user=root host_key_checking=False ansible_ssh_host=localhost
[docker:children]
docker-host-nodes
docker-containers
[ansible-master]
localhost ansible_ssh_port=22