ansible/playbooks/tags_docker-prune.yml

16 lines
343 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: tags_docker-prune
gather_facts: no
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