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