From 7bcaa51fab112b235f8d0a337769519d489ad8f0 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Wed, 17 Nov 2021 11:10:08 +0100 Subject: [PATCH] Correct usage of variable name. --- host.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host.yaml b/host.yaml index 69aacf3..8ef6c4e 100644 --- a/host.yaml +++ b/host.yaml @@ -11,7 +11,7 @@ - debug: var=ansible_date_time.iso8601_basic_short - name: Backup mysql databases - shell: docker exec mysql8 mysqldump -u{{ mysql_user }} -p{{ mysql_password }} {{ item }} > /home/chris/{{ item }}_{{ ansible_data_time.iso8601_basic_short }}.sql + shell: docker exec mysql8 mysqldump -u{{ mysql_user }} -p{{ mysql_password }} {{ item }} > /home/chris/{{ item }}_{{ ansible_date_time.iso8601_basic_short }}.sql loop: - bookstack - kimai