17 lines
453 B
Django/Jinja
17 lines
453 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
127.0.0.1 localhost.localdomain localhost
|
|
127.0.1.1 {{ inventory_hostname }} {{ inventory_hostname_short }}
|
|
|
|
::1 localhost ip6-localhost ip6-loopback
|
|
ff02::1 ip6-allnodes
|
|
ff02::2 ip6-allrouters
|
|
|
|
{% for host in common_hostname_hosts_additional %}
|
|
{% if host['short'] is defined %}
|
|
{{ host['ip'] }} {{ host['fqdn'] }} {{ host['short'] }}
|
|
{% else %}
|
|
{{ host['ip'] }} {{ host['fqdn'] }}
|
|
{% endif %}
|
|
{% endfor %}
|