[mailman] Remove the logrotate config

The config is now provided by the mailman3 package and it's the same
provided by the ansible role.

And we have two of them in the role, probably a oversight.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-11-12 13:33:55 +01:00
parent 021408c107
commit f9da525994
3 changed files with 0 additions and 41 deletions

View file

@ -1,6 +0,0 @@
/var/log/mailman3/*.log {
missingok
notifempty
delaycompress
su root apache
}

View file

@ -130,15 +130,6 @@
- logging
- mailman
- name: Mailman logging -- rotation
ansible.builtin.copy:
src: mailman3.logrotate.conf
dest: /etc/logrotate.d/mailman3
mode: "0644"
tags:
- logging
- mailman
- name: Ensuring mailman-core is started
ansible.builtin.service:
name: mailman3
@ -533,19 +524,6 @@
- systemd
- hyperkitty
#
# Logrotate
#
- name: Setup logrotate
ansible.builtin.template:
src: "mailman.logrotate.j2"
dest: /etc/logrotate.d/mailman
mode: "0644"
tags:
- logrotate
- config
#
# Scripts
#

View file

@ -1,13 +0,0 @@
{{ mailman_log_directory }}/*log {
daily
rotate 7
missingok
ifempty
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/xz
compressext .xz
dateext
sharedscripts
copytruncate
}