Move from debugging to deletion.

This commit is contained in:
2021-11-18 12:07:38 +01:00
parent 5f883e6fdc
commit b81a7e7b52

View File

@@ -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 }}"