diff --git a/ansible/playbooks/docker-prune.yml b/ansible/playbooks/docker-prune.yml new file mode 100644 index 0000000..07e53d0 --- /dev/null +++ b/ansible/playbooks/docker-prune.yml @@ -0,0 +1,11 @@ +--- +- name: Prune unused Docker images + hosts: all + become: true + tasks: + - name: Prune unused Docker images + docker_image: + name: all + state: absent + force: yes + prune: yes