Playing with variables.

This commit is contained in:
2021-11-18 11:37:01 +01:00
parent 0ef6deaa3d
commit 90677444c3

View File

@@ -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: