Sergei Antipov
4d8927f5d6
Merge pull request #44 from davidcaste/davidcaste-replicaset-without-authentication
...
Fix replicaset config without authentication
2015-12-16 14:25:30 +05: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
c996d6eaf7
Merge pull request #42 from davidcaste/davidcaste-replicaset-with-priorities
...
Add support for hidden repl members and priorities
2015-12-14 14:52:28 +05: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
Sergei Antipov
4884874c99
Merge pull request #40 from flyingelephantlab/master
...
Fixes for the wait_for issue
2015-11-23 21:09:34 +05:00
Mohamed Hazem
8a681629c5
Merge pull request #1 from flyingelephantlab/YWB-762
...
YWB-762: Adding a mongodb to the infrastructure
2015-11-23 18:07:12 +02:00
Mohamed Hazem
8cbc617dc9
YWB-762: Adding a mongodb to the infrastructure
...
- Fixed wait_for args
2015-11-23 18:06:21 +02:00
Sergei Antipov
8fc34e7e0e
Version bump
2015-11-22 17:30:09 +05:00
Sergei Antipov
e3e2b34e3a
Merge pull request #38 from flyingelephantlab/master
...
Adding wait after mongodb restart
2015-11-22 17:29:32 +05:00
Mohamed Nabil Hafez
df90644552
Adding wait after mongodb restart
2015-11-22 11:58:35 +02:00
e.dekhtyarev
5eed19bdd9
backupuser now looks better
2015-11-17 14:21:21 +06: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
43e0c5e290
Merge branch 'master' of github.com:UnderGreen/ansible-role-mongodb
2015-11-17 11:56:41 +06:00
Sergei Antipov
9b108da9f5
Added version for pymongo
2015-11-17 11:56:02 +06:00
Sergei Antipov
e2fdf109cb
Version bump
2015-11-17 11:56:02 +06:00
Sergei Antipov
8df4888233
Version bump
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
Sergei Antipov
a14406eb5f
Version bump
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
Sergei Antipov
ce0a1ede93
Version bump
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
cacf4879d0
Added version for pymongo
2015-11-17 11:54:21 +06:00
Sergei Antipov
240769f0ca
Version bump
2015-11-16 16:50:08 +06:00
Sergei Antipov
0c9f6be59d
Added Emacs special files into gitignore
2015-11-16 16:48:57 +06:00
Sergei Antipov
09ff5f902a
Fixed problem with wrong pymongo package
2015-11-16 16:48:57 +06:00
Sergei Antipov
94ebb6e2cd
Fixed problem with mongodb_users param
2015-11-16 16:48:57 +06:00
Sergei Antipov
58ccde41b1
Added fixed mongodb_user module
2015-11-16 16:48:57 +06:00
Sergei Antipov
1cdf7e255a
Added Emacs special files into gitignore
2015-11-16 16:48:15 +06:00
Sergei Antipov
0148f4e54f
Fixed problem with wrong pymongo package
2015-11-16 16:46:46 +06:00
Sergei Antipov
2ef7e5bc77
Fixed problem with mongodb_users param
2015-11-16 16:46:18 +06:00
Sergei Antipov
f060702b6b
Added fixed mongodb_user module
2015-11-16 15:00:25 +06:00
Sergei Antipov
cfe6c7fc5d
Version bump
2015-10-05 12:57:40 +05:00
Sergei Antipov
5d1fb07e87
Merge pull request #34 from asnodgrass/make_dbpath_configurable
...
Use mongodb_conf_dbpath rather than a hard-coded path name
2015-10-05 12:55:56 +05:00
Adam Snodgrass
348c874f49
Use mongodb_conf_dbpath rather than a hard-coded path name
2015-09-03 14:48:56 -04:00
Sergei Antipov
c5e2a1f70a
Version bump
2015-08-20 17:10:41 +05:00
Sergei Antipov
4f0c133d40
Merge pull request #33 from dluksza/master
...
Fixes for /data directory
2015-08-20 17:10:00 +05:00
Dariusz Luksza
9d98bc002b
Move /data ensuring task after package install
2015-08-18 23:42:18 +02:00
Dariusz Luksza
a1d109d0ab
Fix typo
2015-08-18 23:40:34 +02:00
Sergei Antipov
96c609e722
Version bump
2015-08-15 11:36:03 +05:00
Sergei Antipov
82b3355c59
Merge pull request #31 from jamesongithub/master
...
parameterize apt key and apt repo url variables
2015-08-15 11:35:26 +05:00
James Yang
b315a70cc0
parameterize apt key and apt repo variables
...
remove when conditional
2015-08-14 13:25:37 -07:00
Sergei Antipov
d3f3cd7c01
Merge pull request #29 from dluksza/patch-2
...
Ensure /data/db directory on debina
2015-07-30 07:03:07 +05:00
Dariusz Łuksza
8500b9b1ed
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-07-25 11:46:34 +02:00
Sergei Antipov
53b969c23f
Updated sysfs tasks
2015-07-24 11:52:21 +06:00
Sergei Antipov
d49485d0db
Merge pull request #27 from dluksza/patch-1
...
Use proper Mongo configuration file
2015-07-24 10:47:45 +05:00
Dariusz Łuksza
6d856b9c68
Use proper Mongo configuration file
...
In tasks/install.yml configuration template file is copied to /etc/mongod.conf. This means that modifications to Mongo configuration are not applied.
2015-07-19 21:25:00 +02:00
Sergei Antipov
4a2199ae60
Merge pull request #25 from deimosfr/master
...
Ok, merged
2015-06-29 11:29:44 +05:00