fixed invalid loop items
parent
e951934cb6
commit
b1c656724d
|
@ -34,5 +34,5 @@
|
|||
|
||||
- name: Backup existing zone files
|
||||
shell: "mv {{bind9_zone_dir}}/{{item}} {{bind9_zone_dir}}/{{item}}.bak"
|
||||
with_items: result.stdout_lines
|
||||
with_items: "{{result.stdout_lines}}"
|
||||
when: not bind9_initial_setup
|
|
@ -30,4 +30,4 @@
|
|||
- name: Restore backed up zone files
|
||||
become: true
|
||||
shell: "mv {{bind9_zone_dir}}/{{item}}.bak {{bind9_zone_dir}}/{{item}}"
|
||||
with_items: backup_zones_result.stdout_lines
|
||||
with_items: "{{backup_zones_result.stdout_lines}}"
|
Loading…
Reference in New Issue