2023-09-01 15:42:19 -04:00
|
|
|
# Logrotate configuration for standard log files
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
|
|
/var/log/kern.log
|
|
|
|
/var/log/daemon.log
|
|
|
|
/var/log/auth.log
|
|
|
|
/var/log/cron.log
|
|
|
|
/var/log/mail.log
|
|
|
|
/var/log/system.log
|
|
|
|
{
|
|
|
|
rotate {{ logrotate_keepcount }}
|
|
|
|
{{ logrotate_interval }}
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
delaycompress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2023-09-01 15:42:29 -04:00
|
|
|
/usr/bin/systemctl kill -s HUP rsyslog.service
|
2023-09-01 15:42:19 -04:00
|
|
|
endscript
|
|
|
|
}
|