Robert Kaussow
2ce6c3d3a4
All checks were successful
continuous-integration/drone/push Build is passing
15 lines
636 B
Django/Jinja
15 lines
636 B
Django/Jinja
#jinja2: lstrip_blocks: True
|
|
{{ ansible_managed | comment }}
|
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
|
{% if not network_disable_ipv6 %}
|
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
{% endif %}
|
|
{% if network_hostname is defined and network_fqdn is defined and network_interfaces[network_defaultif].ipaddr is defined %}
|
|
{{ network_interfaces[network_defaultif].ipaddr }} {{ network_fqdn }} {{ network_hostname }}
|
|
{% endif %}
|
|
{% if network_hosts_entries %}
|
|
{% for item in network_hosts_entries %}
|
|
{{ item.address }} {{ item.fqdn }} {{ item.hostname }}
|
|
{% endfor %}
|
|
{% endif %}
|