ansible/cleanup.yml: add cleanup of docker images

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-03-25 21:45:06 +01:00
parent 3478f29249
commit 6afc2bfa97
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 3 additions and 0 deletions

View File

@ -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'