iac/ansible/playbooks/docker-prune.yml

8 lines
162 B
YAML
Raw Permalink Normal View History

2024-09-22 23:55:17 -04:00
---
- name: Prune unused Docker images
hosts: all
become: true
tasks:
2024-09-23 00:00:18 -04:00
- name: Prune unused Docker images using shell
shell: docker image prune -f