From 31e107695776c2cb6fa3bc9d7b1409cb94ee60ff Mon Sep 17 00:00:00 2001 From: chsteinle Date: Wed, 1 Dec 2021 04:57:59 +0100 Subject: [PATCH] Fix typo in ansible_date_time variable. --- odroid.yaml | 4 ++-- semaphore.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/odroid.yaml b/odroid.yaml index 44dd9e4..b98515e 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -96,7 +96,7 @@ src: "{{ item.path }}" dest: "{{ item.path | dirname }}/yearly/{{ item.path | basename }}" with_items: "{{ backup_files.results | map(attribute='files') | list }}" - when: (ansible_date_time.day == "01" and ansible_data_time.month == "01") + when: (ansible_date_time.day == "01" and ansible_date_time.month == "01") loop_control: label: "{{ item.path }}" @@ -106,7 +106,7 @@ src: "{{ item.path }}" dest: "{{ item.path | dirname }}/monthly/{{ item.path | basename }}" with_items: "{{ backup_files.results | map(attribute='files') | list }}" - when: (ansible_date_time.day == "01" and ansible_data_time.month != "01") + when: (ansible_date_time.day == "01" and ansible_date_time.month != "01") loop_control: label: "{{ item.path }}" diff --git a/semaphore.yaml b/semaphore.yaml index 4b9fdc8..603c044 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -79,7 +79,7 @@ src: "{{ item.path }}" dest: "{{ item.path | dirname }}/yearly/{{ item.path | basename }}" with_items: "{{ backup_files.results | map(attribute='files') | list }}" - when: (ansible_date_time.day == "01" and ansible_data_time.month == "01") + when: (ansible_date_time.day == "01" and ansible_date_time.month == "01") loop_control: label: "{{ item.path }}" @@ -89,7 +89,7 @@ src: "{{ item.path }}" dest: "{{ item.path | dirname }}/monthly/{{ item.path | basename }}" with_items: "{{ backup_files.results | map(attribute='files') | list }}" - when: (ansible_date_time.day == "01" and ansible_data_time.month != "01") + when: (ansible_date_time.day == "01" and ansible_date_time.month != "01") loop_control: label: "{{ item.path }}"