remove remote backup directory.
This commit is contained in:
@@ -22,4 +22,9 @@
|
|||||||
loop: "{{ containers | subelements('database', skip_missing=True) }}"
|
loop: "{{ containers | subelements('database', skip_missing=True) }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item[1].name }}"
|
label: "{{ item[1].name }}"
|
||||||
|
|
||||||
|
- name: Clean backup directory
|
||||||
|
file:
|
||||||
|
path: "{{ backup_location }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
Reference in New Issue
Block a user