restic: remove tidy job
This commit is contained in:
parent
132b6d800a
commit
4b581b8a78
@ -81,7 +81,6 @@
|
||||
group: root
|
||||
mode: 0755
|
||||
loop:
|
||||
- restic-tidy.sh
|
||||
- restic-repo.sh
|
||||
- restic-job.sh
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user