forked from evolix/ansible-roles
apache: customize logrotate (52 weeks)
This commit is contained in:
parent
15ebb84bb6
commit
5c5361dbb5
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue