Add debian common role
This commit is contained in:
22
common-debian/templates/etc/logrotate.d/rsyslog.j2
Normal file
22
common-debian/templates/etc/logrotate.d/rsyslog.j2
Normal file
@ -0,0 +1,22 @@
|
||||
# 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/boot.log
|
||||
/var/log/system.log
|
||||
{
|
||||
rotate {{ logrotate_keepcount }}
|
||||
{{ logrotate_interval }}
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
/usr/lib/rsyslog/rsyslog-rotate
|
||||
endscript
|
||||
}
|
Reference in New Issue
Block a user