Nicolas Boutet
4074743f18
Make NUMA optional
2020-01-10 15:31:31 +01:00
Mikhail Konyakhin
0b50bcc867
Fix systemd unit file for mongodb and add manage limits.
2019-12-21 12:38:07 +03:00
Mikhail Konyakhin
db328011d5
Fix unit file of disable-transparent-hugepages and fix all time change status.
2019-11-25 14:02:26 +03:00
Mikhail Konyakhin
ede0d25175
Fix init template.
2019-06-05 14:25:32 +03:00
Nicolas Boutet
872aaaa813
Only configure cloud options on MongoDB >= 4.0
2019-06-01 11:25:46 +02:00
Nicolas Boutet
28e947dc76
Add option to configure free monitoring
2019-05-31 14:38:56 +02:00
Sergei Antipov
fb8c3f191f
Merge pull request #164 from UnderGreen/ansible_lint
...
Ansible lint
2019-05-28 22:48:38 -04:00
Sergei Antipov
79aea9ac40
Few more fixes
2019-05-28 13:39:54 -04:00
Sergei Antipov
606210c767
Multiple changes for linting warnings
...
+ propert handling of mongodb_version variable
2019-05-27 15:00:59 -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
Paulo Pizarro
0ab86358bf
Fixed mms agent configuration
2019-04-26 20:13:58 -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
e478f3c420
ignore empty mongodb repository gpgkey settings
2018-03-14 11:50:33 +01: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
Daniel White
b74bade421
Introduce support for RedHat package installation
...
This provides initial support for installing the relevant MongoDB
packages for a RedHat based OS. This currently only supports RHEL/CentOS
6 in order to keep the initial scope relatively constrained.
2016-05-08 04:17:38 +10:00
Sergei Antipov
630e773962
Deleted unneeded parts
2016-04-17 20:40:20 +06: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
Sergei Antipov
9442794314
Global refactoring of authorization and replication
2015-06-22 14:59:25 +06:00
Sergei Antipov
e28b94aebf
Merge pull request #13 from duhast/master
...
Configuration and authentication with custom settings fix
2015-04-06 21:07:10 +05:00
Oleg Vivtash
a8e9ad8d0e
mongodb_force_wait_for_port config var; mongodb_listen_iface renamed to mongodb_listen_ip; facts via a template
2015-04-06 18:53:40 +03: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
5c04b2c8bb
Deleted unused tasks and files
2015-02-17 19:20:06 +06:00
Sergei Antipov
3efddcf91d
Added a lot of new feautures
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
Kirill Klenov
513e601405
Rotate mongodb logs.
2014-07-10 16:20:15 +00:00
Kirill Klenov
1c29f2b317
Init role.
2014-06-04 19:03:58 +04:00