infra-v1/applications/roles/authsec.pihole/templates/ansible-managed.hosts.j2

9 lines
219 B
Django/Jinja

# {{ ansible_managed }}
{% for item in mappings.list %}
{% if item.type=="<<alias>>" %}
# {{ item.comment }}
{{ item.ip_address }} {{ item.hostname }} {{ item.hostname }}.{{ item.domainname }}
{% endif %}
{% endfor %}