ansible/cleanup.yml: add cleanup of docker images
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3478f29249
commit
6afc2bfa97
|
@ -30,6 +30,9 @@
|
||||||
- name: Remove old backups
|
- name: Remove old backups
|
||||||
shell: 'rm -f /var/tmp/backups/*/*'
|
shell: 'rm -f /var/tmp/backups/*/*'
|
||||||
|
|
||||||
|
- name: Remove unused Docker images
|
||||||
|
shell: 'docker image prune -f -a'
|
||||||
|
|
||||||
- name: Gather space info
|
- name: Gather space info
|
||||||
setup:
|
setup:
|
||||||
gather_subset: 'hardware'
|
gather_subset: 'hardware'
|
||||||
|
|
Loading…
Reference in New Issue