Skip to content
Snippets Groups Projects
Commit 7db067be authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#1590 Update logrotate to keep logs for only 7 days for GDPR compliance

parent f87525b4
No related branches found
No related tags found
No related merge requests found
/var/log/fail2ban.log {
weekly
rotate 4
compress
delaycompress
missingok
postrotate
fail2ban-client flushlogs 1>/dev/null
endscript
create 640 root adm
daily
rotate 7
compress
delaycompress
missingok
postrotate
fail2ban-client flushlogs 1>/dev/null
endscript
create 640 root adm
}
......@@ -45,7 +45,7 @@
src: 'logrotate'
dest: '/etc/logrotate.d/fail2ban'
mode: '644'
tags: 'abcabcabc'
tags: 'logrotate'
- name: "Create symbolic links"
file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment