From 48776208342be52d1e44765c2e0d953a1ac140da81ca3b9861b6986b5aa86127 Mon Sep 17 00:00:00 2001 From: Spaenny Date: Tue, 17 Dec 2024 10:37:49 +0100 Subject: [PATCH] =?UTF-8?q?playbooks/servers/docker-cleanup.yml=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/servers/docker-cleanup.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 playbooks/servers/docker-cleanup.yml diff --git a/playbooks/servers/docker-cleanup.yml b/playbooks/servers/docker-cleanup.yml new file mode 100644 index 0000000..37154c0 --- /dev/null +++ b/playbooks/servers/docker-cleanup.yml @@ -0,0 +1,13 @@ +--- +- hosts: all + + tasks: + - name: Prune non-dangling, and dangling images + community.docker.docker_prune: + containers: false + images: true + images_filters: + dangling: true + networks: false + volumes: false + builder_cache: false \ No newline at end of file