apache: customize logrotate (52 weeks)

This commit is contained in:
Jérémy Lecour 2018-04-22 17:44:37 +02:00
parent 15ebb84bb6
commit 5c5361dbb5
2 changed files with 17 additions and 0 deletions

View file

@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
### Added
### Changed
* apache: customize logrotate (52 weeks)
* evolinux: groups for SSH configuration are used with Debian 10 and later
* evolinux-base: fail2ban is not enabled by default
* evolinux-users: refactoring of the SSH configuration

View file

@ -163,6 +163,22 @@
tags:
- apache
- name: "logrotate: rotate weekly"
replace:
dest: /etc/logrotate.d/apache2
regexp: "(daily|weekly|monthly)"
replace: "weekly"
tags:
- apache
- name: "logrotate: keep 52 files"
replace:
dest: /etc/logrotate.d/apache2
regexp: "rotate .+"
replace: "rotate 52"
tags:
- apache
- include: log2mail.yml
when: apache_log2mail_include
tags: