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 <dsavinea@redhat.com>
pull/6111/head
Dimitri Savineau 2020-12-09 10:38:42 -05:00 committed by Dimitri Savineau
parent 801e7a29cf
commit 0108c9f941
1 changed files with 1 additions and 1 deletions

View File

@ -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)