Add docker-prune

This commit is contained in:
2025-07-31 12:47:20 +02:00
parent 01a9fe73ee
commit ece8d7aef0

9
docker-prune Normal file
View File

@@ -0,0 +1,9 @@
---
- name: Prune unused Docker images
hosts: all
become: yes
tasks:
- name: Prune all unused Docker images
ansible.builtin.shell: docker image prune -a -f
args:
warn: false