Check new variable.

This commit is contained in:
2021-11-18 11:03:26 +01:00
parent e878c24150
commit cd1cd7c560

View File

@@ -110,7 +110,9 @@
register: oldBackups
loop: "{{ databases }}"
- debug: var=oldBackups
- name: Delete old daily backups
debug: var=item.path
with_items: "{{ (oldBackups.files | sort(attribute='ctime'))[:-10] | list }}"
- name: Find old weekly backups
find: