2022-10-03 15:20:34 +00:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2023-06-05 13:19:23 +00:00
|
|
|
{% set ips = dnsmasq_host_ipv4 + dnsmasq_host_ipv6 %}
|
|
|
|
|
|
|
|
{% for ip in ips %}
|
|
|
|
{% if ip | length > 0 %}
|
2022-10-03 15:20:34 +00:00
|
|
|
{{ ip }} {{ dnsmasq_client_hostname }} {{ dnsmasq_host_aliases | join(' ') }}
|
2023-06-05 13:19:23 +00:00
|
|
|
{% endif %}
|
2022-10-03 15:20:34 +00:00
|
|
|
{% endfor %}
|