35 lines
511 B
Plaintext
35 lines
511 B
Plaintext
|
# inventory/hosts
|
||
|
|
||
|
[centos]
|
||
|
wp-db1 ip_address=10.54.82.31
|
||
|
wp-db2 ip_address=10.54.82.32
|
||
|
wp-db3 ip_address=10.54.82.33
|
||
|
wp-db4 ip_address=10.54.82.34
|
||
|
|
||
|
[ubuntu]
|
||
|
wp-php1 ip_address=10.54.82.41
|
||
|
wp-php2 ip_address=10.54.82.42
|
||
|
|
||
|
wp-ingress1 ip_address=10.54.82.51
|
||
|
wp-ingress2 ip_address=10.54.82.52
|
||
|
|
||
|
[ingress]
|
||
|
wp-ingress1
|
||
|
wp-ingress2
|
||
|
|
||
|
[db]
|
||
|
wp-db1
|
||
|
wp-db2
|
||
|
wp-db3
|
||
|
wp-db4
|
||
|
|
||
|
[php]
|
||
|
wp-php1
|
||
|
wp-php2
|
||
|
|
||
|
[lxdnested]
|
||
|
|
||
|
[all:vars]
|
||
|
ansible_connection=lxd
|
||
|
ansible_python_interpreter=/usr/bin/python3
|