From 88e3eee059443cdb1e9b3e3bbf172708f02455c7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 17 Nov 2022 20:37:24 +0000 Subject: [PATCH] Prune containers more regularly --- ansible/roles/docker_cleanup/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/roles/docker_cleanup/tasks/main.yml b/ansible/roles/docker_cleanup/tasks/main.yml index 356f74f..11e7fba 100644 --- a/ansible/roles/docker_cleanup/tasks/main.yml +++ b/ansible/roles/docker_cleanup/tasks/main.yml @@ -36,9 +36,8 @@ - name: Clean up docker containers cron: name: clean up docker containers - hour: 12 + hour: 23 minute: 0 - weekday: 3 job: docker system prune -af --volumes - name: Install util scripts