summaryrefslogtreecommitdiff
path: root/database
Commit message (Collapse)AuthorAgeFilesLines
* Make postgresql module in extras compile on py3Michael Scherer2016-10-172-4/+10
|
* Make mongodb modules compile on python 3Michael Scherer2016-10-172-6/+14
|
* Do not leak login_password when using verbose, with no_logMichael Scherer2016-10-172-2/+2
|
* Make redis run on python 3Michael Scherer2016-10-151-5/+11
|
* Fix mongodb_user.py version detection logic (#3162)Ryan Currah2016-10-151-1/+1
| | | Fix mongodb_user.py version detection logic for mongo srv 2.6 and mongo driver 2.7. The wrong variable was used for detecting the mongo driver version. This fix resolves the error "(Note: you must use pymongo 2.7+ with MongoDB 2.6.. 2.6.11)" no matter what version of pymongo you had installed for mongodb 2.6.
* Fix mongodb user compatibility check (#2731)THEBAULT Julien2016-09-291-6/+21
| | | | - Check the compatibility asap
* Fix mongodb_user ssl_cert_reqs param (#2963) (#2965)Lujeni2016-09-261-8/+12
|
* Fix mongodb_user default role value when update_password is set (#2997)Lujeni2016-09-231-1/+1
|
* Improve mongodb_user exception (#2962)Lujeni2016-09-201-3/+3
| | | - Better error message
* Fix the mysql_replication argument (#2111)Michael Scherer2016-09-171-4/+3
| | | | | Login_password and master_password are password, should not be logged. And config_file is a path t be expanded, so tagged as such.
* Fix mongodb user idempotence with 2.4 version (#2725) (#2920)Hans-Joachim Kliemeck2016-09-171-2/+19
|
* Use addresses and names reserved for documentation (#2894)Robin Schneider2016-09-121-2/+2
| | | | | Trying to preserve the meaning of the examples. Related to: https://github.com/ansible/ansible/issues/17479
* return a proper result set for getmaster/getslave (#2595)Serge van Ginderachter2016-08-041-10/+12
| | | | | | | | | * return a proper result set for getmaster/getslave when not on a master/slave. This allows for a cleaner error handling. * A more uniform return of result keys for getmaster/slave
* Exception handling for MySQLdb warnings (#2594)Serge van Ginderachter2016-08-041-1/+5
| | | | | | | Do not fail the module for warnings. Return warnings in the module result set. Fixes #719 Alternative to #720 and as discuseed over there.
* mongodb_user: properly guard user adding with try...except (#2582)gyurco2016-07-211-13/+9
| | | | | | | The user adding part is not properly guarded by a try...except block, so pymongo exceptions can escape from it. Also there's a double-guarding where roles are given. Fixes: #2575
* mongodb_user: fix ssl_cert_reqs exception (#2573)gyurco2016-07-201-1/+3
| | | | | | If ssl is not enabled, but ssl_cert_reqs is passed to pymongo, an exception occures. Fixes: #2571
* Bugfix influxdb/retention_policy: infinite retention is returned as 0 (#2453)Nicholas Morsman2016-06-291-2/+2
| | | | | | * influxdb: retention_policy: infinite retention is returned as 0 from influxdb * influxdb: retention_policy: database_name argument should be required
* Fixes check mode error on Python 2.4 and wrong changed state (#2438)Strahinja Kustudic2016-06-161-10/+9
| | | | | | * Fixes check mode error on Python 2.4 and wrong changed state * Changes code as suggested by @bcoca
* Support the ssl_cert_reqs directive (#1122)Lujeni2016-06-131-2/+15
|
* The pymssql library requires python 2.7 or greater so port the syntax of ↵Toshio Kuratomi2016-05-251-5/+7
| | | | this file to use python3-style exception handling
* allow empty user for kerberos ticket usageHans-Joachim Kliemeck2016-05-251-23/+42
| | | | | | | | | | | | | | fix syntax problems: * it is possible that sql injection is done, therefore the [DBNAME] syntax is used. * it is not possible to use default escape on cursor.execute for DBNAME, since it will insert single quotes around the name and this will cause syntax problems / single quotes within the actual DBNAME implement autocommit setting, since some content can not be imported within transaction fix for automatic tests fix problems with named instances, corrected error message regarding configuration file remove unused placeholder
* Working mssql db controllerFirat Arig2016-05-252-0/+211
| | | | | | | | | | Using pymssql string interpolation Cursor does string interpolation at script execution Handled edge cases in import and delete updated ansible version number
* Fixed problem with pymongo compatibility (#1249)Sergei Antipov2016-05-161-2/+13
| | | | | * Fixed problem with pymongo compatibility Fixes #11
* influxdb retention policy moduleKamil Szczygiel2016-05-061-0/+237
|
* back version added to 2.1nitzmahone2016-05-051-1/+1
|
* influxdb database moduleKamil Szczygiel2016-05-052-0/+194
|
* Add mongodb parameter module (#1596)Ner'zhul2016-04-251-0/+228
| | | | | * Add mongodb parameter module This module permit to configure mongodb live parameters to tune the running engine
* Merge pull request #1737 from Dufgui/develRené Moser2016-04-011-4/+51
|\ | | | | fix #1731 : mongodb_user always says changed
| * mongodb_user.py: changes on commentsMarcos Diez2016-03-161-4/+5
| |
| * mongodb_user: fix checking if the roles of an oplog reader user changedMarcos Diez2016-03-161-1/+38
| |
| * use python fallback to avoid error on old mongo version without rolesGuillaume Dufour2016-02-281-1/+1
| |
| * avoid problem with old mongo version without rolesGuillaume Dufour2016-02-261-1/+1
| |
| * fix #1731 : mongodb_user always says changedGuillaume Dufour2016-02-251-5/+14
| |
* | Merge pull request #1750 from Dufgui/mongodb_users_check_mode_1747René Moser2016-03-231-1/+7
|\ \ | | | | | | #1747 mongodb_user support check mode
| * | fix #1747 mongodb_user support check modeGuillaume Dufour2016-02-281-1/+7
| |/
* | Merge pull request #1877 from mscherer/improve_redisToshio Kuratomi2016-03-211-14/+7
|\ \ | | | | | | Fix type used by the module
| * | Fix type used by the moduleMichael Scherer2016-03-201-14/+7
| | | | | | | | | | | | | | | | | | Set int for the various port (and so avoid to convert them later) Set no_log=True for the login_password Verify that db is a int, so avoid a conversion
* | | Merge pull request #1875 from mscherer/fix_mongo_userToshio Kuratomi2016-03-201-1/+1
|\ \ \ | | | | | | | | Fix ssl to be a bool, required to fix #1732
| * | | Fix ssl to be a bool, required to fix #1732Michael Scherer2016-03-191-1/+1
| | | | | | | | | | | | | | | | May also fix #1869
* | | | Merge pull request #1876 from mscherer/improve_riakToshio Kuratomi2016-03-201-1/+1
|\ \ \ \ | |_|/ / |/| | | Use proper type for riak config_dir argument
| * | | Use proper type for riak config_dir argumentMichael Scherer2016-03-201-1/+1
| |/ /
* | | Merge pull request #1628 from lsb/patch-1René Moser2016-03-191-1/+1
|\ \ \ | |/ / |/| | Update mongodb_user.py
| * | Update mongodb_user.pylsb2016-02-051-1/+1
| | | | | | | | | Typo
* | | Add optional mysql connect timeout.Matt Clay2016-03-101-1/+4
| | |
* | | Updated database/misc/mongodb_user.py, the docs now explain how to add a ↵Marcos Diez2016-03-021-3/+20
| |/ |/| | | | | read user to the local/oplog db
* | fixed version addedBrian Coca2016-02-101-1/+1
|/
* Update for modules which import json.json-imports-fallbackToshio Kuratomi2016-01-111-1/+6
| | | | | | | Some do not use the json module directly so don't need import json. Some needed to fallback to simplejson with no traceback if neither was installed Fixes #1298
* Merge pull request #1255 from Jmainguy/mysql_connectToshio Kuratomi2015-12-161-109/+23
|\ | | | | Unify mysql modules.
| * Unify mysql modules.Jonathan Mainguy2015-11-201-109/+23
| | | | | | | | Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
* | Fix mongodb_user docs typo Josh Gachnang2015-12-011-1/+1
|/ | | | | Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher. These docs made me chuckle, so thanks :)