diff --git a/odroid.yaml b/odroid.yaml index 998f3e7..29487cc 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -111,8 +111,8 @@ loop: "{{ databases }}" - name: Delete old daily backups - debug: var=item.path - with_items: "{{ (oldBackups.results.files | sort(attribute='ctime'))[:-10] | list }}" + debug: var=item + with_flattened: "{{ oldBackups.results }}" - name: Find old weekly backups find: