Use borgmatic_config_name for normal-sized cron job. Fixes #69 (#70)

This commit is contained in:
Manu 2021-06-22 10:36:26 +04:00 committed by GitHub
parent b99de011fc
commit cce04c3648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@
minute: "{{ borgmatic_cron_minute }}"
user: "root"
cron_file: "{{ borgmatic_cron_name }}"
job: "borgmatic"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }}"
- name: Ensure separate check cron job is absent
cron:
name: "{{ borgmatic_cron_name }}-check"