apache: logrotate replacement is more subtle/precise
It replaces only the proper directive and not every occurence of the word.
This commit is contained in:
parent
d09fd169b3
commit
bb956fb5e7
|
@ -44,6 +44,7 @@ The **patch** part changes incrementally at each release.
|
|||
* kvm-host: install kvm-tools package instead of copying add-vm.sh
|
||||
|
||||
### Fixed
|
||||
* apache: logrotate replacement is more subtle/precise. It replaces only the proper directive and not every occurence of the word.
|
||||
* bind: chroot-bind.sh must not be executed in check mode
|
||||
* evoacme: fix module detection in apache config
|
||||
* fail2ban: fix fail2ban_ignore_ips definition
|
||||
|
|
|
@ -174,8 +174,8 @@
|
|||
- name: "logrotate: keep 52 files"
|
||||
replace:
|
||||
dest: /etc/logrotate.d/apache2
|
||||
regexp: "rotate .+"
|
||||
replace: "rotate 52"
|
||||
regexp: '^(\s+rotate) \d+$'
|
||||
replace: '\1 52'
|
||||
tags:
|
||||
- apache
|
||||
|
||||
|
|
Loading…
Reference in a new issue