playbooks/servers/docker-cleanup.yml hinzugefügt
This commit is contained in:
parent
afec3a2f9c
commit
4877620834
1 changed files with 13 additions and 0 deletions
13
playbooks/servers/docker-cleanup.yml
Normal file
13
playbooks/servers/docker-cleanup.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Prune non-dangling, and dangling images
|
||||||
|
community.docker.docker_prune:
|
||||||
|
containers: false
|
||||||
|
images: true
|
||||||
|
images_filters:
|
||||||
|
dangling: true
|
||||||
|
networks: false
|
||||||
|
volumes: false
|
||||||
|
builder_cache: false
|
Loading…
Reference in a new issue