Skip to content

Commit f7552a3

Browse files
committedSep 23, 2024
add docker prune playbook
1 parent c4e0b87 commit f7552a3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎ansible/playbooks/docker-prune.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
- name: Prune unused Docker images
3+
hosts: all
4+
become: true
5+
tasks:
6+
- name: Prune unused Docker images
7+
docker_image:
8+
name: all
9+
state: absent
10+
force: yes
11+
prune: yes

0 commit comments

Comments
 (0)
Please sign in to comment.