7 lines
172 B
YAML
7 lines
172 B
YAML
- name: Cleanup old containers
|
|
become: yes
|
|
become_method: sudo
|
|
listen: cleanup-docker
|
|
command: docker images | grep none | awk '{print $3}' | xargs docker rmi
|
|
|