2021-01-31 14:53:46 +00:00
|
|
|
# controller domain
|
2021-01-31 12:19:45 +00:00
|
|
|
[controller]
|
2021-01-31 14:53:46 +00:00
|
|
|
compute-0 ansible_host=100.64.0.216 index=0
|
|
|
|
# worker domain
|
2021-01-31 12:19:45 +00:00
|
|
|
[worker]
|
2021-01-31 14:53:46 +00:00
|
|
|
compute-1 ansible_host=100.64.0.14 index=0
|
|
|
|
compute-2 ansible_host=100.64.0.26 index=1
|
|
|
|
compute-3 ansible_host=100.64.0.34 index=2
|
2021-01-31 12:19:45 +00:00
|
|
|
|
|
|
|
[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'
|