From ef634dfc47f680a2cb9835c1e2aaea410c91e093 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 20 Jul 2021 08:19:06 +0200 Subject: [PATCH] Added Docker system prune --- clean.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 clean.yml diff --git a/clean.yml b/clean.yml new file mode 100644 index 0000000..b166e97 --- /dev/null +++ b/clean.yml @@ -0,0 +1,7 @@ +--- +- name: Prune docker + hosts: all + tasks: + - name: Docker prune all + ansible.builtin.shell: + cmd: docker system prune -af