Correct deletion of directory.
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
- name: Cleanup volume's backup directories
|
- name: Cleanup volume's backup directories
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
path: "{{ local_backup }}"
|
path: "{{ item.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop: "{{ backup_dirs.files }}"
|
loop: "{{ backup_dirs.files }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
|||||||
Reference in New Issue
Block a user