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