From 0108c9f941c3b66faa3f2463cde4d4f0587ca9e4 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 9 Dec 2020 10:38:42 -0500 Subject: [PATCH] purge-container-cluster: always prune force Since podman 2.x, there's now a confirmation when running podman container prune command. Signed-off-by: Dimitri Savineau --- infrastructure-playbooks/purge-container-cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/purge-container-cluster.yml b/infrastructure-playbooks/purge-container-cluster.yml index 900c14ee2..67a3bdfd2 100644 --- a/infrastructure-playbooks/purge-container-cluster.yml +++ b/infrastructure-playbooks/purge-container-cluster.yml @@ -524,7 +524,7 @@ - name: remove stopped/exited containers command: > - {{ container_binary }} container prune{% if container_binary == 'docker' %} -f{% endif %} + {{ container_binary }} container prune -f changed_when: false - name: show container list on all the nodes (should be empty) -- 2.39.5