unbound: name set_fact tasks

This commit is contained in:
Yohaï-Eliel BERREBY 2020-04-18 17:36:25 +02:00
parent 7234d90fae
commit ded5f38aec

View file

@ -1,11 +1,13 @@
--- ---
# This is used to let unbound bind to the right IP addresses. # This is used to let unbound bind to the right IP addresses.
- set_fact: - name: set dns_host_suffix (main)
set_fact:
dns_host_suffix: "{{ dns_host_suffix_main }}" dns_host_suffix: "{{ dns_host_suffix_main }}"
when: "'rdns_main' in group_names" when: "'rdns_main' in group_names"
- set_fact: - name: set dns_host_suffix (backup)
set_fact:
dns_host_suffix: "{{ dns_host_suffix_backup }}" dns_host_suffix: "{{ dns_host_suffix_backup }}"
when: "'rdns_backup' in group_names" when: "'rdns_backup' in group_names"