2017-05-18 21:10:07 +00:00
|
|
|
#jinja2: trim_blocks: True, lstrip_blocks: True
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
2017-07-03 18:22:41 +00:00
|
|
|
{% if network_disable_ipv6 == false %}
|
2017-05-18 21:10:07 +00:00
|
|
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
|
|
{% endif %}
|
2017-07-03 18:22:41 +00:00
|
|
|
{% if network_hostname is defined and network_fqdn is defined and network_config[network_defaultif]_ipaddr is defined %}
|
|
|
|
{{ network_config[network_defaultif]_ipaddr }} {{ network_fqdn }} {{ network_hostname }}
|
2017-05-18 21:10:07 +00:00
|
|
|
{% endif %}
|