Cleanup original volume.
This commit is contained in:
@@ -25,6 +25,16 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.path }}"
|
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
|
- name: Correct directory owner
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user