mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-20 17:38:08 +00:00
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…
x
Reference in New Issue
Block a user