From 30bfc9f176b14d453f1cf15566f699f549eb6050 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Thu, 18 Nov 2021 11:51:27 +0100 Subject: [PATCH] Work with variables --- odroid.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odroid.yaml b/odroid.yaml index 5e6b6d6..da24d69 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -112,7 +112,7 @@ - name: Delete old daily backups debug: var=item - with_items: "{{ oldBackups.results | selectattr('files', 'in', path) | list }}" + with_items: "{{ oldBackups.results | map(attribute='files') | list }}" - name: Find old weekly backups find: