Commit Graph

56 Commits (971b570b6773d82f4a493f9fb8c57a60648a97dc)

Author SHA1 Message Date
Marcos Diez 1aec0a3ffb mongodb_user.py: changes on comments 2016-12-08 11:34:01 -05:00
Marcos Diez 37ba9a3fe1 mongodb_user: fix checking if the roles of an oplog reader user changed 2016-12-08 11:34:01 -05:00
Guillaume Dufour dc83f2c6d7 use python fallback to avoid error on old mongo version without roles 2016-12-08 11:34:01 -05:00
Guillaume Dufour 467d9a8090 avoid problem with old mongo version without roles 2016-12-08 11:34:01 -05:00
Guillaume Dufour b07e1c13f7 fix #1731 : mongodb_user always says changed 2016-12-08 11:34:01 -05:00
Guillaume Dufour 8227105f02 fix #1747 mongodb_user support check mode 2016-12-08 11:33:59 -05:00
Michael Scherer 184d9fc4e5 Fix type used by the module
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
2016-12-08 11:33:58 -05:00
Michael Scherer 8abe22c917 Fix ssl to be a bool, required to fix #1732
May also fix #1869
2016-12-08 11:33:58 -05:00
Michael Scherer 1a05e0f1c8 Use proper type for riak config_dir argument 2016-12-08 11:33:58 -05:00
lsb 2095aa5100 Update mongodb_user.py
Typo
2016-12-08 11:33:56 -05:00
Matt Clay 9c883f689d Add optional mysql connect timeout. 2016-12-08 11:33:56 -05:00
Marcos Diez ece891baec Updated database/misc/mongodb_user.py, the docs now explain how to add a read user to the local/oplog db 2016-12-08 11:33:51 -05:00
Brian Coca 51e034a8cc fixed version added 2016-12-08 11:33:49 -05:00
Toshio Kuratomi ad0d2c1747 Update for modules which import json.
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
2016-12-08 11:33:44 -05:00
Jonathan Mainguy a50b661e54 Unify mysql modules.
Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
2016-12-08 11:33:40 -05:00
Josh Gachnang 058feb47c2 Fix mongodb_user docs typo
Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher.

These docs made me chuckle, so thanks :)
2016-12-08 11:33:36 -05:00
Kenny Gryp c908c0663d revert to unbreak pull request 2016-12-08 11:33:34 -05:00
Kenny Gryp c766cbd98a in order for replication setup to work, some errors should be ignored 2016-12-08 11:33:33 -05:00
Kenny Gryp 4e401fc4e6 including error code and error number when database connection creation fails 2016-12-08 11:33:33 -05:00
Javier Palacios 185761bfcb BUGFIX: misnamed function name breaks check mode 2016-12-08 11:33:32 -05:00
Luis Rodriguez adedc7ef3f Fix bug #1067 2016-12-08 11:33:26 -05:00
Mischa ter Smitten 2ea6fc210a Documented new operation modes 2016-12-08 11:33:19 -05:00
Mischa ter Smitten 946732eb74 Add more modes to the mysql_replication module
Fixes #979
2016-12-08 11:33:19 -05:00
Brian Coca deb36b00d0 added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
Toshio Kuratomi a4859e1087 Clean up unneeded urllib2 imports 2016-12-08 11:33:01 -05:00
Matt Martz 0399d40895 replace tabs with spaces in mongodb_user.py 2016-12-08 11:32:56 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Solomon Gifford 28ff85c443 #364 Added support for update_password=dict(default="always", choices=["always", "on_create"]) 2016-12-08 11:32:46 -05:00
Solomon Gifford 7b3cfde043 fixes issue #362 2016-12-08 11:32:46 -05:00
Solomon Gifford 401828e588 \login_password with missing login_user not caught #363 2016-12-08 11:32:46 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Greg DeKoenigsberg 319a03869d Update mysql_replication.py 2016-12-08 11:32:38 -05:00
Balazs Pocze a7c0da1e8e Changes made as modifying master_auto_position parameter type to bool 2016-12-08 11:32:38 -05:00
Balazs Pocze bdf85951cf gtid_replication parameter changed to master_auto_position to keep the same variable name as the MySQL server itself 2016-12-08 11:32:38 -05:00
Balazs Pocze fca06a1dfb gtid_replication parameter added to keep this module working in environments which are using GTID replication 2016-12-08 11:32:38 -05:00
Matt Martz 8bd5757720 Fix up modules that have python24 syntax error 2016-12-08 11:32:36 -05:00
Brian Coca b90f97442d vertica doc fixes 2016-12-08 11:32:31 -05:00
Toshio Kuratomi f68bba7b1a Port is an integer so use arg_spec to enforce that. 2016-12-08 11:32:30 -05:00
Dariusz Owczarek 3d93d22e54 new vertica modules 2016-12-08 11:32:28 -05:00
Toshio Kuratomi 88fea228dc Fix postgresql_ext documentation 2016-12-08 11:32:27 -05:00
Toshio Kuratomi d0ccafb6f5 Move other postgres module into the postgresql hierarchy 2016-12-08 11:32:27 -05:00
Daniel Schep fe0e860d82 Import @dschep's module for installing postgres extensions.
Reviewed by @bcoca as a PR against the core repo here:
https://github.com/ansible/ansible-modules-core/pull/21
2016-12-08 11:32:27 -05:00
Brian Coca 1b10058475 changed to make name primary over user, as examples and keep consistent 2016-12-08 11:32:26 -05:00
Jens Depuydt 4a967e7a1c added postgresql_lang.py 2016-12-08 11:32:25 -05:00
Jonathan Mainguy 4fb54a068f Addes login_port feature, similiar to how mysql_db.py works 2016-12-08 11:32:24 -05:00
Toshio Kuratomi 389c6e7b5e Allow 0 to be specified 2016-12-08 11:32:23 -05:00
Stanislav Antic d881a01fec Fixes #155 2016-12-08 11:32:23 -05:00
Toshio Kuratomi cdb9c1b1c4 Use the python db api to quote mysql values 2016-12-08 11:32:20 -05:00
Michael DeHaan cf622a7299 Categorize some modules. 2016-12-08 11:32:19 -05:00