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