27 lines
794 B
Django/Jinja
27 lines
794 B
Django/Jinja
undercloud ansible_host=undercloud ansible_user=stack ansible_private_key_file=/home/stack/.ssh/id_rsa
|
|
|
|
{% for overcloud_host in groups['overcloud_nodes'] %}
|
|
{{overcloud_host}} ansible_host={{overcloud_host}} ansible_user=heat-admin ansible_private_key_file=/home/stack/.ssh/id_rsa
|
|
{% endfor %}
|
|
|
|
{% for overcloud_host in groups['overcloud_nodes'] %}
|
|
{{overcloud_host}} ansible_host={{overcloud_host}} ansible_user=heat-admin ansible_private_key_file=/home/stack/.ssh/id_rsa
|
|
{% endfor %}
|
|
|
|
[compute]
|
|
{% for overcloud_host in groups['compute'] %}
|
|
{{overcloud_host}}
|
|
{% endfor %}
|
|
|
|
[undercloud]
|
|
undercloud
|
|
|
|
[overcloud]
|
|
{% for overcloud_host in groups['overcloud_nodes'] %}
|
|
{{overcloud_host}}
|
|
{% endfor %}
|
|
|
|
[controller]
|
|
{% for overcloud_host in groups['controller'] %}
|
|
{{overcloud_host}}
|
|
{% endfor %} |