Commit Graph

37 Commits

Author SHA1 Message Date
Sergei Antipov 2aa63f5f16 Fix warnings 2018-02-15 13:14:31 +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
Anatoly Chichikov 4fcbaa02ed Fixed issue with multi-port binding timeouts 2017-03-11 16:38:48 +03:00
Ruben Laguna 705ea295b3 Ensure service is started
Since the service could have been stopped manually (outside Ansible) we should ensure that the service is started before waiting for the port to come up.
2016-05-09 22:06:37 +02:00
Daniel White a0ce9baaac Ensure dbpath directory has configurable owner
Looks like when this variable was introduced, this particular task was
missed.

This has also been moved to the configuration stage, since it seems to
fit with the task for ensuring the log directory exists, too.
2016-04-27 14:14:55 +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
Sergei Antipov 390f9263c4 Added task for waiting mongodb server is running 2016-03-04 01:18:01 +06:00
Sergei Antipov 53b969c23f Updated sysfs tasks 2015-07-24 11:52:21 +06:00
Sergei Antipov 9442794314 Global refactoring of authorization and replication 2015-06-22 14:59:25 +06:00
Sergei Antipov ae56691898 Updated working with transparent_hugepages 2015-06-16 17:33:22 +06:00
Sergei Antipov 46230630de Fixed logfile creation 2015-06-16 17:32:39 +06:00
Sergei Antipov 11c4200f5e Added changed_when for several tasks 2015-06-16 14:19:58 +06:00
Deimosfr 11681c84b3 feature: adding right reset when modifying uid 2015-05-22 22:21:53 +02:00
Deimosfr 7828ad5b92 can set uid and gid of mongodb user 2015-05-09 23:15:49 +02:00
Sergei Antipov ce11a7dea0 Fixed conflicts 2015-04-16 22:52:53 +06:00
deimosfr c440999218 fixing creation user fail when not managing service and typo 2015-04-10 13:33:37 +02:00
Oleg Vivtash f864abe29d Disable Linux THP on Debian distros 2015-04-08 20:18:19 +03: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
Oleg Vivtash 84b9f87e56 Configuration and authentication with custom settings fix 2015-04-04 14:26:31 +03:00
deimosfr 985e5297f0 feat: adding service managment 2015-04-02 21:48:03 +02:00
deimosfr bc790326ab fixing systemd issue
Updating systemd detection by getting PID 1 command line instead of
checking systemd folder. This to avoid issues with Docker for example.
2015-03-04 11:05:08 +01:00
deimosfr 45508b9f99 fix regression on non systemd debian 2015-02-26 15:11:22 +01:00
deimosfr edd9915a1a fixing service fail with systemd 2015-02-25 15:45:47 +01:00
Sergei Antipov b3a68067f7 Auth initialization moven in another place 2015-02-17 19:20:07 +06:00
Sergei Antipov 5c04b2c8bb Deleted unused tasks and files 2015-02-17 19:20:06 +06:00
Sergei Antipov abf8ded23e A lot of changes in replication. Added mongodb_replication module 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
Kirill Klenov f829324400 Support mongoshell 2014-12-26 18:32:50 +03: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 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 42ecbbb76f Setup travis. 2014-06-04 19:09:28 +04:00
Kirill Klenov 1c29f2b317 Init role. 2014-06-04 19:03:58 +04:00