add a task to prune data

This commit is contained in:
Andreas Zweili 2021-11-12 16:53:53 +01:00
parent 8029666330
commit 1cd507c294
1 changed files with 10 additions and 0 deletions

View File

@ -104,3 +104,13 @@
pull: "yes"
remove_orphans: "yes"
when: docker_skip_project is undefined
- name: "Prune old data"
community.docker.docker_prune:
containers: yes
images: yes
images_filters:
dangling: true
networks: yes
volumes: yes
builder_cache: yes