ansible/playbooks/docker-prune.yml

15 lines
324 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: tags_docker-prune
tasks:
- name: prune old docker assets
community.docker.docker_prune:
containers: yes
images: yes
images_filters:
dangling: no
networks: yes
volumes: yes
builder_cache: yes