delete cronjobs when they should be deleted

This commit is contained in:
L3D 2022-01-18 18:01:39 +01:00
parent d30e30fcae
commit 5607345762
No known key found for this signature in database
GPG key ID: CD08445BFF4313D1
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
hour: '{{ item.schedule_hour | default("2") }}' hour: '{{ item.schedule_hour | default("2") }}'
weekday: '{{ item.schedule_weekday | default("*") }}' weekday: '{{ item.schedule_weekday | default("*") }}'
month: '{{ item.schedule_month | default("*") }}' month: '{{ item.schedule_month | default("*") }}'
state: present state: absent
user: 'root' user: 'root'
cron_file: restic_backup cron_file: restic_backup
become: true become: true

View file

@ -10,5 +10,5 @@ restic_os_variables:
paths: paths:
- 'vars' - 'vars'
playbook_version_number: 23 # should be int playbook_version_number: 24 # should be int
playbook_version_path: 'do1jlr.restic.version' playbook_version_path: 'do1jlr.restic.version'