2021-01-31 12:19:45 +00:00
|
|
|
# two first domain is controller domain
|
|
|
|
[controller]
|
|
|
|
compute-0 ansible_host=100.64.0.146 index=0
|
|
|
|
compute-1 ansible_host=100.64.0.214 index=1
|
|
|
|
# next domain is worker domain
|
|
|
|
[worker]
|
|
|
|
compute-2 ansible_host=100.64.0.79 index=0
|
|
|
|
compute-3 ansible_host=100.64.0.86 index=1
|
|
|
|
|
|
|
|
[all:children]
|
|
|
|
controller
|
|
|
|
worker
|
2021-01-24 20:56:45 +00:00
|
|
|
[all:vars]
|
2021-01-31 12:19:45 +00:00
|
|
|
ansible_ssh_extra_args='-o StrictHostKeyChecking=no'
|