christianlempa-boilerplates/ansible/maintenance/maint-docker-clean.yaml
Christoph Schug 70a8bea0ed fix: add and remove blank lines
Add blank lines where it helps with readability (e.g., between each
task) but also remove needless one.
2024-03-03 16:34:29 +01:00

15 lines
317 B
YAML

---
- name: clean docker
hosts: "{{ my_hosts | d([]) }}"
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