aboutsummaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc-hosts.j2
blob: 6fdbdaa4eb832bf2b0e41d9e9731bed5548f0c56 (plain) (blame)
1
2
3
4
5
6
7
127.0.0.1       localhost
127.0.1.1       {{ inventory_hostname }}.box.pydis.wtf {{ inventory_hostname }}

::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{{ lookup('dig', ansible_host) }}    {{ inventory_hostname }}.box.pydis.wtf {{ inventory_hostname }}