diff --git a/tasks/restic_delete_cron.yml b/tasks/restic_delete_cron.yml index d8d6095..19e521b 100644 --- a/tasks/restic_delete_cron.yml +++ b/tasks/restic_delete_cron.yml @@ -7,7 +7,7 @@ hour: '{{ item.schedule_hour | default("2") }}' weekday: '{{ item.schedule_weekday | default("*") }}' month: '{{ item.schedule_month | default("*") }}' - state: present + state: absent user: 'root' cron_file: restic_backup become: true diff --git a/vars/main.yml b/vars/main.yml index 2e22da5..31b64ae 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -10,5 +10,5 @@ restic_os_variables: paths: - 'vars' -playbook_version_number: 23 # should be int +playbook_version_number: 24 # should be int playbook_version_path: 'do1jlr.restic.version'