Update dockerclean.yml
This commit is contained in:
@@ -3,12 +3,7 @@
|
||||
hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Prune dangling images
|
||||
ansible.builtin.shell: docker image prune -f
|
||||
args:
|
||||
warn: false
|
||||
|
||||
- name: Prune all unused images
|
||||
- name: Prune all unused Docker images
|
||||
ansible.builtin.shell: docker image prune -a -f
|
||||
args:
|
||||
warn: false
|
||||
Reference in New Issue
Block a user