From 3ea2e91e4f488c4237e32af2a758fda6ab4897fb Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 8 Jul 2025 18:20:09 -0400 Subject: [PATCH] pagure: Add a copy of rsyslog-logrotate where ansible can find it. Signed-off-by: James Antill --- roles/distgit/pagure/files/rsyslog-logrotate | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roles/distgit/pagure/files/rsyslog-logrotate diff --git a/roles/distgit/pagure/files/rsyslog-logrotate b/roles/distgit/pagure/files/rsyslog-logrotate new file mode 100644 index 0000000000..f55c91d88c --- /dev/null +++ b/roles/distgit/pagure/files/rsyslog-logrotate @@ -0,0 +1,20 @@ +/var/log/cron +/var/log/maillog +/var/log/messages +/var/log/secure +/var/log/spooler +{ + missingok + sharedscripts + postrotate + /usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true + endscript + daily + rotate 7 + ifempty + compress + compresscmd /usr/bin/xz + uncompresscmd /usr/bin/xz + compressext .xz + dateext +}