tobiko/roles/tests/templates/hosts.j2
Federico Ressi ac7a4a6d61 Switch to 2-node configuration for IR plugin testing
Change-Id: Ifeed49ee6a5f57fc2ebf69adbae16894ad3c69a2
2020-04-15 15:56:13 +02:00

14 lines
365 B
Django/Jinja

# --- localhost ---
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 ::1 {{ vagrant_nodes[inventory_hostname].hostname }}
# -- Vagrant nodes ---
{% for node in (vagrant_nodes | dictsort) %}
{{ node.1.ip }} {{ node.1.hostname }}
{% endfor %}