10 lines
229 B
Django/Jinja
10 lines
229 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% set ips = dnsmasq_host_ipv4 + dnsmasq_host_ipv6 %}
|
|
|
|
{% for ip in ips %}
|
|
{% if ip | length > 0 %}
|
|
{{ ip }} {{ dnsmasq_client_hostname }} {{ dnsmasq_host_aliases | join(' ') }}
|
|
{% endif %}
|
|
{% endfor %}
|