mongodb: rename logrotate script

This commit is contained in:
Jérémy Lecour 2018-04-05 18:43:29 +02:00 committed by Jérémy Lecour
parent 3b8c57faee
commit beeb7de0af
2 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,7 @@ The **patch** part changes incrementally at each release.
* nagios-nrpe: mark plugins as executable
* mongodb: configuration is forced by default but it's configurable (default: `false`)
* mongodb: allow unauthenticated packages for Jessie
* mongodb: rename logrotate script
* nginx: package name can be specified (default: `nginx-full`)
* evolinux-base: Exec the firewall tasks sooner (to avoid dependency issues)
* webapps/evoadmin-web: Fail if variable evoadmin_contact_email isn't defined

View File

@ -28,6 +28,12 @@
- name: Configure logrotate
template:
src: logrotate_stretch.j2
dest: /etc/logrotate.d/mongodb
dest: /etc/logrotate.d/mongodb-server
force: yes
backup: no
- name: disable previous logrotate
command: mv /etc/logrotate.d/mongodb /etc/logrotate.d/mongodb.disabled
args:
removes: /etc/logrotate.d/mongodb
creates: /etc/logrotate.d/mongodb.disabled