Adjusted inventory file with the real IP addresses. I do not see the reason to skip local IPs.

This commit is contained in:
2025-08-24 17:54:46 +02:00
parent f9b60b9850
commit 703c3c96d8
2 changed files with 30 additions and 30 deletions

View File

@@ -1,30 +0,0 @@
[all:vars]
ansible_user = mbuz
ansible_ssh_private_key_file = /home/mbuz/.ssh/id_rsa
[proxmox]
proxmox-host ansible_host=x.x.x.x
[docker]
docker-apps ansible_host=x.x.x.x
docker-cloud ansible_host=x.x.x.x
#[truenas]
#truenas ansible_host=x.x.x.x
[raspberry_pi]
raspberry-pi ansible_host=x.x.x.x
[lxc]
ansible ansible_host=x.x.x.x
zabbix-proxy ansible_host=x.x.x.x
localhost ansible_connection=local # for testing playbooks on the control node
[proxmox_backup]
proxmox-backup ansible_host=x.x.x.x
# This is a group of groups. It includes all hosts in the 'docker' and 'raspberry_pi' groups.
[ubuntu:children]
docker
raspberry_pi
lxc

30
inventory/hosts.ini Normal file
View File

@@ -0,0 +1,30 @@
[all:vars]
ansible_user = mbuz
ansible_ssh_private_key_file = /home/mbuz/.ssh/id_rsa
[proxmox]
proxmox-host ansible_host=10.0.0.1
[docker]
docker-apps ansible_host=10.0.0.101
docker-cloud ansible_host=10.0.0.102
#[truenas]
#truenas ansible_host=10.0.0.200
[raspberry_pi]
raspberry-pi ansible_host=10.0.0.5
[lxc]
ansible ansible_host=10.0.0.111
zabbix-proxy ansible_host=10.0.0.110
pi-hole ansible_host=10.0.0.104
[proxmox_backup]
proxmox-backup ansible_host=10.0.0.201
# This is a group of groups. It includes all hosts in the 'docker' and 'raspberry_pi' groups.
[ubuntu:children]
docker
raspberry_pi
lxc