From eb9840866d35bd07c9e4e5c4cdc376a884166e09 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Thu, 17 Dec 2020 14:13:50 +0100 Subject: [PATCH] SECURITY: Fix stupid typo for cron --- tasks/cron.yml | 4 ++-- vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/cron.yml b/tasks/cron.yml index 4fea18e..886a500 100644 --- a/tasks/cron.yml +++ b/tasks/cron.yml @@ -8,8 +8,8 @@ - name: setup cronjob for restic with logging become: true cron: - name: "archive restic backup with ansible_role_restic_archiver >> /var/log/restic/restic_archiver.log" - job: /opt/restic-backup.sh + name: "archive restic backup with ansible_role_restic_archiver" + job: /opt/restic-backup.sh >> /var/log/restic/restic_archiver.log cron_file: /etc/crontab hour: "{{ restic_archiver__hour }}" minute: "{{ restic_archiver__minute }}" diff --git a/vars/main.yml b/vars/main.yml index c359517..1f5de40 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 30 # should be over ninethousand +playbook_version_number: 31 # should be over ninethousand playbook_version_path: 'role-restic_archiver_roles-ansible_github.com.version'