role_dnsmasq/templates/records_specific.conf.j2
2025-04-16 16:44:59 +02:00

11 lines
264 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# {{ ansible_managed }}
{%- for specific in dnsmasq_specifics %}
{%- set aliases = specific.aliases | default([]) %}
## {{ specific.hostname }}
{% for ip in specific.ips %}
{{ ip }} {{ ([specific.hostname] + aliases) | join(' ') }}
{% endfor %}
{% endfor %}