mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-15 08:00:18 +01:00
Merge pull request #53 from roles-ansible/txpo
delete cronjobs when they should be deleted
This commit is contained in:
commit
5d842e30a1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue