Added Docker system prune
This commit is contained in:
parent
2d2d7f8247
commit
ef634dfc47
1 changed files with 7 additions and 0 deletions
7
clean.yml
Normal file
7
clean.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Prune docker
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Docker prune all
|
||||||
|
ansible.builtin.shell:
|
||||||
|
cmd: docker system prune -af
|
Reference in a new issue