From a7df28bce96d8f370f1e9c17ecc8af7ec50ab2ca Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 5 Jul 2021 15:26:33 +0200 Subject: [PATCH] improve template error --- templates/restic.timer.j2 | 2 +- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/restic.timer.j2 b/templates/restic.timer.j2 index 00feded..69ea2c8 100644 --- a/templates/restic.timer.j2 +++ b/templates/restic.timer.j2 @@ -2,7 +2,7 @@ Description=Run restic backup {{ item.name }} every night [Timer] -OnCalendar=*-*-* 02:00:00 {{ restic_systemd_timer_default_OnCalendar }} +OnCalendar={{ restic_systemd_timer_default_OnCalendar }} RandomizedDelaySec={{ restic_systemd_timer_randomizeddelaysec }} Persistent=yes diff --git a/vars/main.yml b/vars/main.yml index b633b76..a45ce99 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -10,5 +10,5 @@ restic_os_variables: paths: - 'vars' -playbook_version_number: 9 # should be int +playbook_version_number: 10 # should be int playbook_version_path: 'do1jlr.restic.version'