aboutsummaryrefslogtreecommitdiffstats
path: root/roles/debian/templates/hosts.j2
blob: bce512061f0d2df4f4403341771e6f4f6ae5fd97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
127.0.0.1 localhost

::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{% if hosts is defined %}

{% for addr, names in hosts %}
{{ addr }} {{ names|join(' ') }}
{% endfor %}
{% endif %}