Correct deletion of directory.

This commit is contained in:
2021-11-23 14:40:03 +01:00
parent cebf554c88
commit ae1630738a

View File

@@ -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: