restic: remove tidy job

This commit is contained in:
Ryan Cavicchioni 2022-09-01 16:42:00 -05:00
parent 132b6d800a
commit 4b581b8a78
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 0 additions and 11 deletions

View File

@ -81,7 +81,6 @@
group: root
mode: 0755
loop:
- restic-tidy.sh
- restic-repo.sh
- restic-job.sh

View File

@ -53,13 +53,3 @@
state: link
force: yes
when: restic_repos | count == 1
- name: create cron
cron:
name: "restic {{ item.name }} tidy"
hour: "0"
minute: "{{ 60 | random(seed=inventory_hostname) }}"
user: root
state: present
job: "( {{ restic_bin_path }}/restic-tidy {{ item.name }} | logger --id=$$ -t restic-tidy -p user.info ) 2>&1 | logger --id=$$ -t restic-tidy -p user.err"
when: restic_tidy_enabled