aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/prune-images/tasks/prune_images.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/prune-images/tasks/prune_images.yml')
-rw-r--r--ansible/roles/prune-images/tasks/prune_images.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/prune-images/tasks/prune_images.yml b/ansible/roles/prune-images/tasks/prune_images.yml
index 29519fea3..176824284 100644
--- a/ansible/roles/prune-images/tasks/prune_images.yml
+++ b/ansible/roles/prune-images/tasks/prune_images.yml
@@ -12,5 +12,6 @@
# and generic module podman_image does not support label filters
- name: Pruning Kolla images
become: true
+ changed_when: true
command: podman image prune --force --filter 'label=kolla_version'
when: kolla_container_engine == 'podman'