fix docker prune playbook

This commit is contained in:
Matt Reeves 2024-09-23 00:00:18 -04:00
parent f7552a3f64
commit 3e63d78e62

View file

@ -3,9 +3,7 @@
hosts: all
become: true
tasks:
- name: Prune unused Docker images
docker_image:
name: all
state: absent
force: yes
prune: yes
- name: Prune unused Docker images using shell
shell: docker image prune -f
args:
warn: false