add docker prune playbook

This commit is contained in:
Matt Reeves 2024-09-22 23:55:17 -04:00
parent c4e0b87a02
commit f7552a3f64

View file

@ -0,0 +1,11 @@
---
- name: Prune unused Docker images
hosts: all
become: true
tasks:
- name: Prune unused Docker images
docker_image:
name: all
state: absent
force: yes
prune: yes