diff --git a/playbooks/servers/docker-cleanup.yml b/playbooks/servers/docker-cleanup.yml new file mode 100644 index 0000000..37154c0 --- /dev/null +++ b/playbooks/servers/docker-cleanup.yml @@ -0,0 +1,13 @@ +--- +- hosts: all + + tasks: + - name: Prune non-dangling, and dangling images + community.docker.docker_prune: + containers: false + images: true + images_filters: + dangling: true + networks: false + volumes: false + builder_cache: false \ No newline at end of file