tobiko/roles/tobiko-inventory/templates/test_inventory.j2
Eduardo Olivares e21d209587 Set undercloud_ssh_hostname on tobiko.conf
Tobiko IR tasks failed on some downstream environments when the
undercloud hostname was not undercloud-0

When this happens, the tobiko IR command can be executed with
--undercloud-host or --underclout-ssh-host options

RHOSENTDFG-1695

Change-Id: Ife055b62682044bdc446e6447ef9da562fe4bb73
Co-Author: Eduardo Olivares Toledo <eolivare@redhat.com>
2021-03-09 13:40:29 +00:00

16 lines
387 B
Django/Jinja

[all]
{% for host, vars in (test_inventory_hostvars | dictsort) %}
{{ host }} ansible_host={{ vars.ansible_host }}
{% endfor %}
[all:vars]
ansible_python_interpreter = {{ test_inventory_python_interpreter }}
ansible_user = {{ test_inventory_user }}
{% for group, hosts in (test_inventory_groups | dictsort) %}
[{{ group }}]
{% for host in hosts %}
{{ host }}
{% endfor %}
{% endfor %}