You've already forked ansible-linux-infra
initial commit
This commit is contained in:
14
roles/logging_rsyslog/templates/logrotate-cis.j2
Normal file
14
roles/logging_rsyslog/templates/logrotate-cis.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
# {{ ansible_managed }}
|
||||
/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler {
|
||||
weekly
|
||||
rotate 12
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
create 0640 root root
|
||||
sharedscripts
|
||||
postrotate
|
||||
/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user