Commit Graph

11 Commits

Author SHA1 Message Date
Sergei Antipov 25c7cec6f2 Support of mongodb 3 2016-04-17 19:43:00 +06:00
davidcaste 4b2899bb6e Fix replicaset config without authentication
According to MongoDB documentation[1], "enabling internal authentication
(in a replicaset) enables access control". Therefore, if MongoDB is
configured without authentication (`auth = no`) a `keyFile` line
must not appear in the configuration file.

This commit attempts to solve the problem described above. An extra
check has been added to ensure the `keyFile` configuration option is
added only if replicaset authorization _and_ authentication is enabled.

[1]: https://docs.mongodb.org/v3.0/tutorial/enable-internal-authentication/
2015-12-16 09:24:08 +01:00
ftao 631a97e4e4 dont set quotaFiles if mongodb_conf_quota is false
because  
quotaFiles   "number of files allowed per db, implies --quota"  
ef7f17be80/src/mongo/db/mongod_options.cpp (L223)
2015-04-03 17:22:31 +08:00
Sergei Antipov 4c3919d920 Changes in variables definition 2015-02-17 19:20:06 +06:00
Sergei Antipov 5f167f612a Added variables and task for replicaSet configuration 2015-02-17 19:20:06 +06:00
Sergei Antipov 2dba294ff8 Fixed problem with values in mongod.conf
Variables like "yes" where in conf file like "true". It's worked,
but it's wrong.
2015-02-17 19:20:06 +06:00
Kirill Klenov 356a1b5b61 Refactoring. Support MMS 2014-12-19 17:39:09 +03:00
Kirill Klenov fa4b1a0d39 Update the role 2014-12-11 22:09:31 +03:00
Kirill Klenov 1ee211b3a0 Sort options, update contributors. 2014-09-02 23:14:06 +01:00
Guillaume Dedrie c816661c18 Update configuration management using Ansible templates to be more flexible 2014-08-25 16:24:58 +02:00
Kirill Klenov 804d89698b Migrate to the mongo-org package 2014-07-30 18:32:46 +01:00