role_dnsmasq/templates/host.conf.j2

6 lines
150 B
Django/Jinja

# {{ ansible_managed }}
{% for ip in dnsmasq_host_ips %}
{{ ip }} {{ dnsmasq_client_hostname }} {{ dnsmasq_host_aliases | join(' ') }}
{% endfor %}