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