christianlempa-boilerplates/ansible/maintenance/maint-docker-clean.yaml

13 lines
304 B
YAML
Raw Normal View History

2023-05-25 13:48:38 +02:00
---
- name: clean docker
hosts: "{{ hosts }}"
tasks:
- name: prune non-dangling images
community.docker.docker_prune:
containers: false
images: true
images_filters:
dangling: false
networks: false
volumes: false
builder_cache: false