Update dockerprune.yml
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Prune dangling images
|
||||
docker_image:
|
||||
prune: yes
|
||||
dangling: yes
|
||||
ansible.builtin.shell: docker image prune -f
|
||||
args:
|
||||
warn: false
|
||||
|
||||
- name: Prune all unused images
|
||||
command: docker image prune -a -f
|
||||
ansible.builtin.shell: docker image prune -a -f
|
||||
args:
|
||||
warn: false
|
||||
Reference in New Issue
Block a user