Adjusted inventory file with the real IP addresses. I do not see the reason to skip local IPs.
This commit is contained in:
@@ -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
30
inventory/hosts.ini
Normal 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
|
||||||
Reference in New Issue
Block a user