From 90677444c3a99ae56a326b8341dccb3c671a5df8 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Thu, 18 Nov 2021 11:37:01 +0100 Subject: [PATCH] Playing with variables. --- odroid.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: