Добавил ssh в ansible-base и стырил плейбук для создания LXD контейнеров
This commit is contained in:
16
ansible/lxc-create-multiple/inventory
Normal file
16
ansible/lxc-create-multiple/inventory
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user