ansible/roles/rsyslog_common/templates/logrotate.j2

18 lines
233 B
Text
Raw Permalink Normal View History

{{ ansible_managed | comment }}
/var/log/auth.log
/var/log/mail.log
/var/log/kern.log
/var/log/syslog.log
{
rotate 7
daily
missingok
notifempty
delaycompress
compress
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}