cleanup: clean also service logs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
968c174ba0
commit
3a277cebd6
|
@ -25,7 +25,7 @@
|
|||
command: journalctl --vacuum-time=1d
|
||||
|
||||
- name: Remove log gzipped archives
|
||||
shell: 'rm -f /var/log/*.gz /var/log/nginx/*.gz /var/log/docker/*/*.gz'
|
||||
shell: 'rm -f /var/log/*.gz /var/log/nginx/*.gz /var/log/docker/*/*.gz /var/log/service/*/*.gz'
|
||||
|
||||
- name: Remove unused Docker images
|
||||
shell: 'docker image prune -f -a'
|
||||
|
|
Loading…
Reference in New Issue