Select Git revision
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
hosts.j2 599 B
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
{% for host in hosts_alternates %}
{{ host }} {{ ansible_host }} {{ inventory_hostname }}
{% else %}
{{ ansible_default_ipv4.address }} {{ ansible_host }} {{ inventory_hostname }}
{% if 'address' in ansible_default_ipv6 %}
{{ ansible_default_ipv6.address }} {{ ansible_host }} {{ inventory_hostname }}
{% endif %}
{% endfor %}
{% for host in hosts_additionals %}
{{ host.address }} {{ host.names|join(' ') }}
{% endfor %}