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
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