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:
directlx 2026-02-04 06:51:43 -05:00
parent 171e32db26
commit 3000e13e0e
1 changed files with 23 additions and 6 deletions

View File

@ -1,16 +1,33 @@
---
all:
children:
# Example group structure - customize as needed
webservers:
control:
hosts:
# web1:
# ansible_host: 192.168.1.10
ansible-node:
ansible_host: 192.168.200.106
dbservers:
hosts:
# db1:
# ansible_host: 192.168.1.20
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: