mongodb: don't overwrite config by default

This commit is contained in:
Jérémy Lecour 2018-03-13 09:40:37 +01:00 committed by Jérémy Lecour
parent 84924c38f4
commit ad4714856b
3 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@ The **patch** part changes incrementally at each release.
* elasticsearch: use ES_TMPDIR variable for custom tmpdir, (from `/etc/default/elasticsearch` instead of changing `/etc/elesticsearch/jvm.options`).
* elasticsearch: RESTART_ON_UPGRADE is configurable (default: `true`)
* nagios-nrpe: mark plugins as executable
* mongodb: configuration is forced by default but it's configurable (default: `true`)
* mongodb: configuration is forced by default but it's configurable (default: `false`)
* nginx: package name can be specified (default: `nginx-full`)
### Fixed

View File

@ -12,6 +12,6 @@ Everything is in the `tasks/main.yml` file.
* `mongodb_port`: port to listen to (default: `27017`)
* `mongodb_bind`: IP to bind to (default: `127.0.0.1`)
* `mongodb_force_config`: force copy the configuration (default: `true`)
* `mongodb_force_config`: force copy the configuration (default: `false`)
The full list of variables (with default values) can be found in `defaults/main.yml`.

View File

@ -3,4 +3,6 @@
mongodb_port: 27017
mongodb_bind: 127.0.0.1
mongodb_force_config: True
# Warning: config must not be overwritten by default
# otherwise it can disable important settings, like authorization :/
mongodb_force_config: False