1
0
Fork 0
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:
L3D 2022-01-18 18:01:39 +01:00
parent d30e30fcae
commit 5607345762
Signed by: l3d
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'