From bc8233990f230d57e30ee33fc6e2d89b84b77ce8 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 1 Jan 2020 17:22:06 +0100 Subject: [PATCH] common: Scheduled removal of old backups at 0:30 So for the most time two states are stored on the server. The storage which will stay free can be better used to calculate the storage which can still be used by dividing the free storage by 3. --- roles/common/tasks/helpers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/common/tasks/helpers.yml b/roles/common/tasks/helpers.yml index b0c4425..c1dd39b 100644 --- a/roles/common/tasks/helpers.yml +++ b/roles/common/tasks/helpers.yml @@ -33,8 +33,8 @@ - name: Configure auto remove older backups cron: - hour: 1 - minute: 55 + hour: 0 + minute: 30 job: "{{ global_helper_directory }}/backup_autoremove.sh" name: "Auto remove older backups" state: present