diff --git a/roles/base/templates/etc/logrotate.d/rsyslog-loghost.j2 b/roles/base/templates/etc/logrotate.d/rsyslog-loghost.j2 deleted file mode 100644 index 243ecf7..0000000 --- a/roles/base/templates/etc/logrotate.d/rsyslog-loghost.j2 +++ /dev/null @@ -1,23 +0,0 @@ -# Logrotate configuration for loghost archives -# {{ ansible_managed }} - -/srv/log/kern.log -/srv/log/daemon.log -/srv/log/haproxy.log -/srv/log/auth.log -/srv/log/cron.log -/srv/log/mail.log -/srv/log/boot.log -/srv/log/system.log -{ - weekly - missingok - copytruncate - dateext - notifempty - sharedscripts - postrotate - /usr/lib/rsyslog/rsyslog-rotate &>/dev/null - /usr/local/sbin/loghost-archive.sh &>/dev/null - endscript -} diff --git a/roles/base/templates/etc/logrotate.d/rsyslog.j2 b/roles/base/templates/etc/logrotate.d/rsyslog.j2 index 6ae2f58..1f17878 100644 --- a/roles/base/templates/etc/logrotate.d/rsyslog.j2 +++ b/roles/base/templates/etc/logrotate.d/rsyslog.j2 @@ -3,11 +3,9 @@ /var/log/kern.log /var/log/daemon.log -/var/log/haproxy.log /var/log/auth.log /var/log/cron.log /var/log/mail.log -/var/log/boot.log /var/log/system.log { rotate {{ logrotate_keepcount }}