generated from ansible/ansible_template
add a task to prune data
This commit is contained in:
parent
8029666330
commit
1cd507c294
|
@ -104,3 +104,13 @@
|
||||||
pull: "yes"
|
pull: "yes"
|
||||||
remove_orphans: "yes"
|
remove_orphans: "yes"
|
||||||
when: docker_skip_project is undefined
|
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
|
||||||
|
|
Reference in New Issue