dlx-ansible/inventory/hosts.yml

36 lines
669 B
YAML

---
all:
children:
control:
hosts:
ansible-node:
ansible_host: 192.168.200.106
dbservers:
hosts:
postgres:
ansible_host: 192.168.200.103
mysql:
ansible_host: 192.168.200.110
mongo:
ansible_host: 192.168.200.111
webservers:
hosts:
nginx:
ansible_host: 192.168.200.65
npm:
ansible_host: 192.168.200.101
infrastructure:
hosts:
docker:
ansible_host: 192.168.200.200
pihole:
ansible_host: 192.168.200.100
local:
hosts:
localhost:
ansible_connection: local