Add infrastructure hosts to inventory
Added hosts organized by role: - dbservers: postgres, mysql, mongo - webservers: nginx, npm (nginx proxy manager) - infrastructure: docker, pihole - control: ansible-node Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
171e32db26
commit
3000e13e0e
|
|
@ -1,16 +1,33 @@
|
||||||
---
|
---
|
||||||
all:
|
all:
|
||||||
children:
|
children:
|
||||||
# Example group structure - customize as needed
|
control:
|
||||||
webservers:
|
|
||||||
hosts:
|
hosts:
|
||||||
# web1:
|
ansible-node:
|
||||||
# ansible_host: 192.168.1.10
|
ansible_host: 192.168.200.106
|
||||||
|
|
||||||
dbservers:
|
dbservers:
|
||||||
hosts:
|
hosts:
|
||||||
# db1:
|
postgres:
|
||||||
# ansible_host: 192.168.1.20
|
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:
|
local:
|
||||||
hosts:
|
hosts:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue