From ded5f38aecfa6732c37f31c0bf8b9b40076afce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Sat, 18 Apr 2020 17:36:25 +0200 Subject: [PATCH] unbound: name set_fact tasks --- roles/unbound/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/unbound/tasks/main.yml b/roles/unbound/tasks/main.yml index 18f99ce..44a4358 100644 --- a/roles/unbound/tasks/main.yml +++ b/roles/unbound/tasks/main.yml @@ -1,11 +1,13 @@ --- # 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 }}" when: "'rdns_main' in group_names" -- set_fact: +- name: set dns_host_suffix (backup) + set_fact: dns_host_suffix: "{{ dns_host_suffix_backup }}" when: "'rdns_backup' in group_names"