Change usage of backup variable.
This commit is contained in:
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
- name: Delete old daily backups
|
- name: Delete old daily backups
|
||||||
debug: var=item.path
|
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
|
- name: Find old weekly backups
|
||||||
find:
|
find:
|
||||||
|
|||||||
Reference in New Issue
Block a user