mirror of
https://github.com/roles-ansible/ansible_role_restic.git
synced 2024-12-11 23:41:32 +01:00
delete cronjobs when they should be deleted
This commit is contained in:
parent
d30e30fcae
commit
5607345762
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue