devops-shit/ansible/lxc-create-multiple/inventory

17 lines
346 B
Plaintext

# inventory/hosts
[centos]
centos1 ip_address=10.222.43.101
centos2 ip_address=10.222.43.102
centos3 ip_address=10.222.43.103
[ubuntu]
ubuntu1 ip_address=10.222.43.111
ubuntu2 ip_address=10.222.43.112
ubuntu3 ip_address=10.222.43.113
[all:vars]
ansible_connection=lxd
ansible_python_interpreter=/usr/bin/python3