[EVO] Grouper les IPv4 et IPv6 #3

Merged
pulsar merged 1 commits from groupIPs into master 2023-06-15 12:54:47 +00:00
3 changed files with 4 additions and 8 deletions
Showing only changes of commit 215b965d8b - Show all commits

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_ipv4 ou dnsmasq_host_ipv6
### dnsmasq_host_ips
Liste d'IP de l'hôte.
Liste des IP de l'hôte.
*<span style="text-decoration: underline">Valeur par défaut:</span> aucune*

View File

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

View File

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