Commit Graph

161 Commits

Author SHA1 Message Date
Dariusz Łuksza 183e6d485f Ensure /data/db directory on debina
It appears that standard mongo install process on debian doesn't create the /data/db directory. This prevents mongo process from starting and required manual job on the server.

With this fix the /data/db directory will be created by ansible during install process.
2015-11-17 11:56:01 +06:00
Sergei Antipov 2ef7e5bc77 Fixed problem with mongodb_users param 2015-11-16 16:46:18 +06:00
Sergei Antipov 53b969c23f Updated sysfs tasks 2015-07-24 11:52:21 +06:00
Sergei Antipov 4a2199ae60 Merge pull request #25 from deimosfr/master
Ok, merged
2015-06-29 11:29:44 +05:00
Deimosfr 9bb1648565 fix issue with unmanaged service
with latest update, a mongodb restart couldn't work properly. New checks
have been added to fix the issue
2015-06-28 21:54:04 +02:00
Deimosfr 04ecae0cc6 Adding numactl package
More and more physical servers are running on numa infrastructure. To
get best performances, numactl is required.
2015-06-26 18:56:32 +02:00
Sergei Antipov 5dc2d566c7 Fixed replication init 2015-06-25 17:33:19 +06:00
Sergei Antipov 8cc2c1830c Fixed bug with mongodb_users 2015-06-25 17:05:02 +06:00
Sergei Antipov a3a4b61c46 Moved mongodb_user task into auth_init 2015-06-22 15:27:32 +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 b677edb9b3 Merge pull request #14 from duhast/master
Ability to install PyMongo from PIP
2015-04-06 22:16:14 +05:00
Oleg Vivtash 6309afc1cf Update install.deb.yml 2015-04-06 19:51:47 +03:00
Oleg Vivtash 4fa70d3dab Ability to install PyMongo from PIP 2015-04-06 19:38:52 +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
Sergei Antipov e3c477a4ee Fixed authorization 2015-03-03 11:21:25 +06:00
Sergei Antipov d25113e8fa Fixed issue #3 2015-03-02 16:08:12 +06:00
deimosfr 45508b9f99 fix regression on non systemd debian 2015-02-26 15:11:22 +01:00
Sergei Antipov 7c7242675d Fix addind mongodb_users 2015-02-26 00:30:42 +05:00
deimosfr edd9915a1a fixing service fail with systemd 2015-02-25 15:45:47 +01:00
Sergei Antipov 4f126cc624 Fixes in auth tasks 2015-02-17 19:43:13 +06:00
Sergei Antipov 2b4163a79c Several changes in replication 2015-02-17 19:20:07 +06:00
Sergei Antipov b3a68067f7 Auth initialization moven in another place 2015-02-17 19:20:07 +06:00
Sergei Antipov 845f25d5a2 Added authorization based on local fact 2015-02-17 19:20:06 +06:00
Sergei Antipov 30c2bc37c4 mongodb.yml -> main.yml 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 d8d847825d Changes in authorization 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 d6aa8e0ffa Changes in autorization 2015-02-17 19:20:06 +06:00
Sergei Antipov 9e17ec9ed8 Added authorization configuration 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 862a633425 Better handle mongodb-org 2015-01-23 12:43:36 +03:00
Guillaume Dedrie 538813020d Missing when statement preventing MongoDB repository to be added 2015-01-09 00:06:13 +01:00
Kirill Klenov f11f7886f7 Change behaviour 2015-01-07 14:43:05 +03:00
Guillaume Dedrie 8769e8a411 Add possibility for User to install from Official Debian or Ubuntu Repo.
Support new variable and due to difference between Debian/Ubuntu repo and MongoDB, daemon and file convention naming are differents.
2015-01-05 14:42:40 +01: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 b07c33da2c Update the role 2014-11-11 17:20:39 +03:00
Kirill Klenov f54331fc08 Merge branch 'debian-support' of https://github.com/guillaumededrie/Stouts.mongodb into guillaumededrie-debian-support 2014-09-02 23:15:52 +01:00
Kirill Klenov 1ee211b3a0 Sort options, update contributors. 2014-09-02 23:14:06 +01:00
Guillaume Dedrie d05268e601 Support Debian machine using MongoDB official repository for Debian 2014-08-25 16:14:41 +02:00
Kirill Klenov 804d89698b Migrate to the mongo-org package 2014-07-30 18:32:46 +01:00
Kirill Klenov 804b562713 Fix mongodb service name. Rollback 1.0.1 2014-07-30 18:06:15 +01:00
Alexander Shorin b8f8bef0f8 Fix service name
According installation guides and reality it's `mongod`, not `mongodb`.
2014-07-29 18:16:43 +04:00
Kirill Klenov 513e601405 Rotate mongodb logs. 2014-07-10 16:20:15 +00:00
Kirill Klenov e7795d144d Update the role. 2014-06-09 12:59:15 +04: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