Move from debugging to deletion.
This commit is contained in:
@@ -111,7 +111,9 @@
|
||||
loop: "{{ databases }}"
|
||||
|
||||
- name: Delete old daily backups
|
||||
debug: var=item.path
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: absent
|
||||
with_items: "{{ oldBackups.results | map(attribute='files') | list }}"
|
||||
loop_control:
|
||||
label: "{{ item.path }}"
|
||||
|
||||
Reference in New Issue
Block a user