From 188183667a1fdda71a58a3eb23aae73ee48c2443 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 26 Oct 2026 10:26:31 +0000 Subject: [PATCH] docker: remove hand-written docker system prune lines from root crontab --- docker/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/tasks/main.yml b/docker/tasks/main.yml index 7d3fe18..292a680 100644 --- a/docker/tasks/main.yml +++ b/docker/tasks/main.yml @@ -91,3 +91,10 @@ when: docker_binary.stat.exists tags: docker_prune +- name: Remove hand-written docker system prune lines from root crontab + ansible.builtin.lineinfile: + path: /var/spool/cron/crontabs/root + regexp: '^\S+ \S+ \S+ \S+ \S+ docker system prune -af' + state: absent + tags: docker_prune +