ansible/roles/common/templates/hosts.j2

11 lines
300 B
Django/Jinja

# {{ ansible_managed }}
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 {{ ansible_nodename }}.lxc {{ ansible_nodename }} localhost
::1 {{ ansible_nodename }}.lxc {{ ansible_nodename }} localhost
# End of file