diff --git a/odroid.yaml b/odroid.yaml index af00d31..3a05c5a 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -112,8 +112,10 @@ loop: "{{ systems }}" - name: Store the daily backup - debug: var=item + debug: var={{ item.path | dirname }} with_items: "{{ backup_files.results | map(attribute='files') | list }}" + loop_control: + label: {{ item.path | basename }} when: (ansible_date_time.weekday_number != "7" and ansible_date_time.day != "01") - name: Cleanup original backup files