Release 10.0.0 #100
|
@ -62,6 +62,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* php: add missing handler for php7.3-fpm
|
* php: add missing handler for php7.3-fpm
|
||||||
* roundcube: fix typo for roundcube vhost
|
* roundcube: fix typo for roundcube vhost
|
||||||
* tomcat: fix typo for default tomcat_version
|
* tomcat: fix typo for default tomcat_version
|
||||||
|
* evolinux-base: Fix our zsyslog rotate config that doesn't work on Debian 10
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,12 @@
|
||||||
dest: /etc/logrotate.d/
|
dest: /etc/logrotate.d/
|
||||||
when: evolinux_logs_logrotate_confs
|
when: evolinux_logs_logrotate_confs
|
||||||
|
|
||||||
|
- name: Copy rsyslog logrotate file
|
||||||
|
template:
|
||||||
|
src: logs/zsyslog.j2
|
||||||
|
dest: /etc/logrotate.d/zsyslog
|
||||||
|
when: evolinux_logs_logrotate_confs
|
||||||
|
|
||||||
- name: Configure logrotate.conf
|
- name: Configure logrotate.conf
|
||||||
replace:
|
replace:
|
||||||
dest: /etc/logrotate.conf
|
dest: /etc/logrotate.conf
|
||||||
|
|
|
@ -8,7 +8,11 @@ notifempty
|
||||||
delaycompress
|
delaycompress
|
||||||
compress
|
compress
|
||||||
postrotate
|
postrotate
|
||||||
|
{% if ansible_distribution_major_version | version_compare('10', '>=') %}
|
||||||
|
/usr/lib/rsyslog/rsyslog-rotate
|
||||||
|
{% else %}
|
||||||
invoke-rc.d rsyslog rotate > /dev/null
|
invoke-rc.d rsyslog rotate > /dev/null
|
||||||
|
{% endif %}
|
||||||
endscript
|
endscript
|
||||||
|
|
||||||
/var/log/daemon.log
|
/var/log/daemon.log
|
Loading…
Reference in a new issue