ansible/cleanup: drop removing backups, remove nginx logs

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-07-29 18:57:03 +02:00
parent 6375725d87
commit 95261d2d10
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 4 deletions

View File

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