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 3b68e15bb9
commit a2cc1eafb6
3 changed files with 31 additions and 32 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,2 @@
.vscode/
Ansible/secrets.yml
Ansible/inventory/hosts.ini
Ansible/secrets.yml

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

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