Change usage of backup variable.

This commit is contained in:
2021-11-18 11:09:51 +01:00
parent cd1cd7c560
commit 75db69a732

View File

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