Commit Graph

27 Commits

Author SHA1 Message Date
Sergei Antipov fb8c3f191f
Merge pull request #164 from UnderGreen/ansible_lint
Ansible lint
2019-05-28 22:48:38 -04:00
Sergei Antipov 852ad2149e
Fix all issues and warnings 2019-05-23 00:37:39 -04:00
Paulo Pizarro 4ba3adc37a add wiredtiger, security and profiling configs 2019-05-21 22:17:31 -03:00
Sergei Antipov 387e7f7ff5
Merge pull request #144 from kraeml/feature/deprecation
Deprecation for apt resolved for debian
2019-04-22 11:18:44 -04:00
Mickael Berkhout 475e2a6629 fix typo / fixed filetype extension / added wiredtiger cache setting 2019-04-19 10:45:04 +02:00
vagrant 70ae07a6e7 Deprecation test as filters resolved 2019-04-09 10:35:12 +02:00
Patrick Dreker dba6278273 add "to_nice_json" to avoid Capitalized booleans 2018-09-11 14:46:52 +02:00
Patrick Dreker 7d8c014cc5 Add mongodb_storage_dirperdb variable
Add the mongodb_storage_dirperdb variable to the defaults (set to false)
Add the variable unconditionally into the mongod_init.conf.j2 and
mongod.conf.j2 templates.
2018-09-11 10:01:53 +02:00
Mickael Berkhout 7a64fd332a Added ssl config support in config template 2018-08-23 20:55:22 +02:00
Frederik Wagner a77efe008d add systemLog.logRotate option as configurable 2018-03-08 14:38:26 +01:00
Sergei Antipov 2fb64ec439 Fix config for 3.6.x versions 2018-02-16 23:09:00 +07:00
Thiago Almeida dd3cc14e33 Modifying mongod conf template.
The new template will test if the systemLog option is file or syslog to
add the correct file path options.
2018-01-19 12:05:24 -02:00
Emilien Escalle c4b37649ee
Supports setParameter configuration 2018-01-09 12:39:07 +01:00
jsaliba e034149e2d Resolved conflicts between Daniel White's redhat-support branch and UnderGreen master 2017-09-13 16:26:32 +02:00
David Castellanos 40c3cedc7c Fix (again) Systemd support
Commit #d9393b1 did not completely fixed the systemd-related issues.
The handler "reload systemd" has a "when" clause which fails in
systemd-based systems.

This commit attempts to fix the problem described above. The "when"
clause in the handler "reload systemd" has been fixed. Some facts has
been added in the install playbook, in order to make the code more
simple and easier to maintain.
2016-09-29 09:39:37 +02:00
Daniel White 255dc39cc3 Define pidFilePath for offical RHEL packages
The init script in these packages _assumes_ that this variable is
defined. Without it, it fails to properly start the service.
2016-05-08 04:17:38 +10:00
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