Remove cron configuration

The Debian package ships a systemd timer
This commit is contained in:
phil 2023-04-18 21:58:03 +02:00
parent 7e0278debb
commit 9952fcf3c6
2 changed files with 2 additions and 12 deletions

View file

@ -18,15 +18,6 @@
cmd: "borgmatic --bash-completion > /usr/share/bash-completion/completions/borgmatic"
creates: /usr/share/bash-completion/completions/borgmatic
- name: "Borg | Add borgmatic cron job"
ansible.builtin.cron:
name: "{{ borgmatic_timer_cron_name }}"
hour: "{{ borgmatic_timer_hour }}"
minute: "{{ borgmatic_timer_minute }}"
user: "{{ borg_user }}"
cron_file: "{{ borgmatic_timer_cron_name }}"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }} >/dev/null"
- name: "Borg | Init borg repository"
ansible.builtin.expect:
command: "borgmatic init -e {{ borg_repo_key }}"