dockerprune.yml

This commit is contained in:
2025-07-31 12:37:39 +02:00
parent a43ebe5384
commit cab708829a

View File

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