Merge pull request #53 from roles-ansible/txpo

delete cronjobs when they should be deleted
This commit is contained in:
L3D 2022-01-18 18:05:35 +01:00 committed by GitHub
commit 5d842e30a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'