1
1
ansible_vagrant/inventory/inventory.yml
2023-07-01 12:49:46 +02:00

36 lines
898 B
YAML

---
all:
hosts:
localhost:
children:
servers:
vars:
ansible_ssh_user: vagrant
hosts:
vm1:
ansible_host: 192.168.56.2
ansible_ssh_private_key_file: .vagrant/machines/vm1/virtualbox/private_key
vm2:
ansible_host: 192.168.56.3
ansible_ssh_private_key_file: .vagrant/machines/vm2/virtualbox/private_key
vm3:
ansible_host: 192.168.56.4
ansible_ssh_private_key_file: .vagrant/machines/vm3/virtualbox/private_key
vm4:
ansible_host: 192.168.56.5
ansible_ssh_private_key_file: .vagrant/machines/vm4/virtualbox/private_key
redhat:
vars:
ZBXDIR: '/etc'
ZBXLOGDIR: 'zabbix'
hosts:
vm1:
vm2:
debian:
vars:
ZBXDIR: '/etc/zabbix'
ZBXLOGDIR: 'zabbix-agent'
hosts:
vm3:
vm4: