Compare commits

..

No commits in common. "b9baf12530123ec33a152b9d0208a6d46f84ecdf" and "712b394e8d08fbeb2684db3a970f1b09c1ee3861" have entirely different histories.

3 changed files with 8 additions and 4 deletions

View File

@ -22,9 +22,9 @@ Liste d'IP ou de noms d'hôtes servant de serveur DNS.
*<span style="text-decoration: underline">Valeur par défaut:</span> aucune*
### dnsmasq_host_ips
### dnsmasq_host_ipv4 ou dnsmasq_host_ipv6
Liste des IP de l'hôte.
Liste d'IP de l'hôte.
*<span style="text-decoration: underline">Valeur par défaut:</span> aucune*

View File

@ -6,7 +6,8 @@ dnsmasq_conf_servers: []
dnsmasq_servers: []
dnsmasq_host_ips: []
dnsmasq_host_ipv4: []
dnsmasq_host_ipv6: []
dnsmasq_host_aliases: []
dnsmasq_client_filename: "{{ inventory_hostname }}"

View File

@ -1,5 +1,8 @@
# {{ ansible_managed }}
{% for ip in dnsmasq_host_ips %}
{% for ip in dnsmasq_host_ipv4 %}
{{ ip }} {{ dnsmasq_client_hostname }} {{ dnsmasq_host_aliases | join(' ') }}
{% endfor %}
{% for ip in dnsmasq_host_ipv6 %}
{{ ip }} {{ dnsmasq_client_hostname }} {{ dnsmasq_host_aliases | join(' ') }}
{% endfor %}