From 9bdbaf353936a2218f7640ff25797a14fa133e38 Mon Sep 17 00:00:00 2001 From: waffles Date: Sun, 19 Feb 2023 20:18:55 -0800 Subject: [PATCH] Separate out the variables to control which cron jobs are run --- roles/mastodon/tasks/maintenance.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/mastodon/tasks/maintenance.yml b/roles/mastodon/tasks/maintenance.yml index 7009429..70f08ab 100644 --- a/roles/mastodon/tasks/maintenance.yml +++ b/roles/mastodon/tasks/maintenance.yml @@ -23,6 +23,7 @@ hour: "*/6" tags: - configure + when: TRIM_STORAGE is defined and TRIM_STORAGE - name: Install image puller copy: @@ -63,4 +64,4 @@ hour: "5" tags: - configure - + when: PRUNE_ACCOUNTS is defined and PRUNE_ACCOUNTS