diff --git a/roles/restic/tasks/main.yaml b/roles/restic/tasks/main.yaml index 4aa56b7..e060a3c 100644 --- a/roles/restic/tasks/main.yaml +++ b/roles/restic/tasks/main.yaml @@ -81,7 +81,6 @@ group: root mode: 0755 loop: - - restic-tidy.sh - restic-repo.sh - restic-job.sh diff --git a/roles/restic/tasks/repo.yaml b/roles/restic/tasks/repo.yaml index 053bc8a..ddcffb4 100644 --- a/roles/restic/tasks/repo.yaml +++ b/roles/restic/tasks/repo.yaml @@ -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