From 0ef6deaa3d13d0ebccdd48aaf4b87deb7fe33d28 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Thu, 18 Nov 2021 11:25:33 +0100 Subject: [PATCH] Flatten results. --- odroid.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odroid.yaml b/odroid.yaml index 998f3e7..29487cc 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -111,8 +111,8 @@ loop: "{{ databases }}" - name: Delete old daily backups - debug: var=item.path - with_items: "{{ (oldBackups.results.files | sort(attribute='ctime'))[:-10] | list }}" + debug: var=item + with_flattened: "{{ oldBackups.results }}" - name: Find old weekly backups find: