ansible/roles/rsyslog_common/templates/logrotate.j2

17 lines
233 B
Django/Jinja

{{ 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
}