From b52cb880c34633973744bfb7a1fafda74b18587d Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Fri, 19 Nov 2021 11:24:20 +0100 Subject: [PATCH] Fix typo. --- odroid.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/odroid.yaml b/odroid.yaml index 14d4a43..1f3ca1e 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -105,15 +105,15 @@ - name: Search for the created backups find: paths: "{{ backup_dir }}{{ item }}" - file_tpye: file + file_type: file patterns: '*.gz' recurse: false - register: backups + register: backup_files loop: "{{ systems }}" - name: Store the daily backup debug: var=item - with_items: "{{ oldBackups.results | map(attribute='files') | list }}" + with_items: "{{ backup_files.results | map(attribute='files') | list }}" when: (ansible_date_time.weekday_number != "7" and ansible_date_time.day != "01") - name: Cleanup original backup files