ansible/files/common/rsyslog-logrotate
Andrew Heath f97666a75d Add logrotate for proxy systems
Added rsyslog logrotate cong for proxy systems and a task land the
configs as well as fix some yamllint errors.
2024-01-15 09:55:20 +00:00

20 lines
359 B
Text

/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
missingok
sharedscripts
postrotate
/usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true
endscript
daily
rotate 7
ifempty
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/xz
compressext .xz
dateext
}