hpc-cluster/ansible-ctdo/roles/hostname/templates/hosts.j2

9 lines
287 B
Django/Jinja

# {{ ansible_managed }}
127.0.0.1 localhost localhost.localdomain {{ inventory_hostname }}
::1 localhost localhost.localdomain
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters