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

9 lines
242 B
Django/Jinja

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