Commit Graph

84 Commits

Author SHA1 Message Date
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
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 86d4cb209a Merged backup user creating 2016-04-18 19:08:24 +06:00
Sergei Antipov 77c55d557b Fixed problem with concurrency race 2016-04-17 23:18:31 +06: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 b6e2ffe362 Fixed variable conditional 2016-03-04 01:22:38 +06:00
Sergei Antipov 3dfa06c44f Added feature to use mongodb versions >= 3.0 2016-03-04 01:20:08 +06:00
Sergei Antipov 390f9263c4 Added task for waiting mongodb server is running 2016-03-04 01:18:01 +06:00
Sergei Antipov 45da87de3d Merge pull request #48 from rapkin/master
Fixed "ERROR! 'mongodb_replication_params' is undefined"
2016-02-03 13:13:39 +05:00
Anton Markelov 5f101340de Resolve error in single-node installation 2016-02-03 15:53:32 +09:00
rapkin e66450e580 added default values for `mongodb_replication_params ` to avoid undefined 2016-01-29 14:37:25 +02:00
rapkin 42487b9f46 fixed `mongodb_replication_params is undefined` error (closes #37) 2016-01-29 14:17:16 +02:00
davidcaste 111069fbee Add support for hidden repl members and priorities
Currently ansible-role-mongodb does not support replicaset member
attributes as "hidden" and "priority".

This commit attempts to solve the problem described above. Support for
attributes "hidden" and "priority" has been added.
2015-12-14 09:17:37 +01:00
Mohamed Hazem 8cbc617dc9 YWB-762: Adding a mongodb to the infrastructure
- Fixed wait_for args
2015-11-23 18:06:21 +02:00
Mohamed Nabil Hafez df90644552 Adding wait after mongodb restart 2015-11-22 11:58:35 +02:00
e.dekhtyarev 05b608b31a Add user for backup mongodb databases 2015-11-17 12:14:41 +06:00
Sergei Antipov b22dcbdd28 Fixed problem with pip 2015-11-17 12:02:33 +06:00
Sergei Antipov 9b108da9f5 Added version for pymongo 2015-11-17 11:56:02 +06:00
Adam Snodgrass d21e963a27 Use mongodb_conf_dbpath rather than a hard-coded path name 2015-11-17 11:56:02 +06:00
Dariusz Luksza fbd30315e4 Move /data ensuring task after package install 2015-11-17 11:56:02 +06:00
Dariusz Luksza 53041f47d0 Fix typo 2015-11-17 11:56:01 +06:00
James Yang d88e811ad4 parameterize apt key and apt repo variables
remove when conditional
2015-11-17 11:56:01 +06:00
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