From 68508d8c9558332867f4f53b49b90450fb2b07af Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 30 Aug 2022 06:50:56 -0500 Subject: [PATCH] restic: disable restic tidy cycle for now --- roles/restic/defaults/main.yaml | 2 ++ roles/restic/tasks/repo.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/roles/restic/defaults/main.yaml b/roles/restic/defaults/main.yaml index c38c52b..ed1c798 100644 --- a/roles/restic/defaults/main.yaml +++ b/roles/restic/defaults/main.yaml @@ -25,3 +25,5 @@ restic_global_exclude: restic_repos: [] restic_jobs: [] + +restic_tidy_enabled: false diff --git a/roles/restic/tasks/repo.yaml b/roles/restic/tasks/repo.yaml index 09e9669..053bc8a 100644 --- a/roles/restic/tasks/repo.yaml +++ b/roles/restic/tasks/repo.yaml @@ -62,3 +62,4 @@ 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