system/templates/etc_hosts.j2
2021-07-18 11:39:52 +02:00

20 lines
345 B
Django/Jinja

# Hosts file -- Don't edit manually!
#
# {{ ansible_managed }}
{% if hosts_entries|length != 0 %}
# Custom entries
{% for host in hosts_entries %}
{{ host.ip }} {{ host.name }} {{ host.aliases | default('') | join(' ') }}
{% endfor %}
{% endif %}
{% if hosts_file_snippets %}
#
# Hosts file snippets
#
{{ hosts_file_snippets }}
{% endif %}