ansible/cleanup: drop removing backups, remove nginx logs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6375725d87
commit
95261d2d10
|
@ -25,10 +25,7 @@
|
|||
command: journalctl --vacuum-time=1d
|
||||
|
||||
- name: Remove log gzipped archives
|
||||
shell: 'rm -f /var/log/*.gz /var/log/docker/*/*.gz'
|
||||
|
||||
- name: Remove old backups
|
||||
shell: 'rm -f /var/tmp/backups/*/*'
|
||||
shell: 'rm -f /var/log/*.gz /var/log/nginx/*.gz /var/log/docker/*/*.gz'
|
||||
|
||||
- name: Remove unused Docker images
|
||||
shell: 'docker image prune -f -a'
|
||||
|
|
Loading…
Reference in New Issue