minor fixes
parent
d7e6fd8445
commit
738eda59f1
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
|
||||||
- debug: "msg={{bind9_initial_setup}}"
|
- debug: "msg={{bind9_initial_setup}}"
|
||||||
- debug: "msg={{existing_zones_result.stdout_lines}}"
|
- debug: "msg={{existing_zones_result}}"
|
||||||
|
|
||||||
- name: Backup /etc/bind/named.conf.local
|
- name: Backup /etc/bind/named.conf.local
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
register: dig_result
|
register: dig_result
|
||||||
changed_when: dig_result.rc != 0
|
changed_when: dig_result.rc != 0
|
||||||
failed_when: dig_result.rc != 0
|
failed_when: dig_result.rc != 0
|
||||||
with_items: "{{zone.records}}"
|
with_items: "{{zone.records}}"
|
||||||
|
|
||||||
- debug: "msg={{dig_result.results | selectattr('rc')}}"
|
|
Loading…
Reference in New Issue