mongodb: rename logrotate script
This commit is contained in:
parent
3b8c57faee
commit
beeb7de0af
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue