From d42f85974309bce1986c529434e9da997d016ce9 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Fri, 19 Nov 2021 11:52:30 +0100 Subject: [PATCH] Reduce loop variable. --- odroid.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/odroid.yaml b/odroid.yaml index e3147fc..b5b2128 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -118,6 +118,8 @@ dest: "{{ item.path | dirname }}/daily/{{ item.path | basename }}" with_items: "{{ backup_files.results | map(attribute='files') | list }}" when: (ansible_date_time.weekday_number != "7" and ansible_date_time.day != "01") + loop_control: + label: "{{ item.path }}" - name: Cleanup original backup files file: