Commit graph

26 commits

Author SHA1 Message Date
Robin Schneider
67a1bebbd3 Use addresses and names reserved for documentation (#2894)
Trying to preserve the meaning of the examples.

Related to: https://github.com/ansible/ansible/issues/17479
2016-09-12 11:27:45 +02:00
Serge van Ginderachter
fc76455326 return a proper result set for getmaster/getslave (#2595)
* 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
2016-08-04 08:27:39 -07:00
Serge van Ginderachter
9a47088d67 Exception handling for MySQLdb warnings (#2594)
Do not fail the module for warnings.
Return warnings in the module result set.

Fixes #719
Alternative to #720 and as discuseed over there.
2016-08-04 08:17:10 -07:00
Matt Clay
f1b6eeabb2 Add optional mysql connect timeout. 2016-03-10 14:11:16 -08:00
Jonathan Mainguy
0d0c887f02 Unify mysql modules.
Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
2015-11-20 21:44:04 -05:00
Kenny Gryp
53d42cd8d8 revert to unbreak pull request 2015-11-09 10:07:15 +01:00
Kenny Gryp
e1c1ea9013 in order for replication setup to work, some errors should be ignored 2015-11-09 10:05:53 +01:00
Kenny Gryp
975d7952b9 including error code and error number when database connection creation fails 2015-11-03 16:44:00 +01:00
Luis Rodriguez
6e80ed57d2 Fix bug #1067 2015-10-07 19:04:37 +02:00
Mischa ter Smitten
bd0314c406 Documented new operation modes 2015-09-17 09:52:58 +02:00
Mischa ter Smitten
a65965e38e Add more modes to the mysql_replication module
Fixes #979
2015-09-15 12:57:37 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
b8a7f56b14 Update mysql_replication.py 2015-05-13 14:55:28 -04:00
Brian Coca
fbc0bcbd9c minor doc fixes 2015-05-13 13:59:24 -04:00
Brian Coca
07ed2ffb67 Merge pull request #124 from banyek/mysql-gtid-replication
gtid_replication parameter added
2015-05-13 13:51:35 -04:00
Balazs Pocze
c2ae5d8e4c Changes made as modifying master_auto_position parameter type to bool 2015-04-15 13:45:26 -07:00
Balazs Pocze
14cf26f520 gtid_replication parameter changed to master_auto_position to keep the
same variable name as the MySQL server itself
2015-04-14 17:35:13 -07:00
Toshio Kuratomi
400166a655 Port is an integer so use arg_spec to enforce that. 2015-03-26 11:42:56 -07:00
Brian Coca
6a3bba3ecc Merge pull request #21 from Jmainguy/mysql_replication_login_port
Adds login_port feature, similiar to how mysql_db.py works
2015-02-03 07:34:16 -05:00
Toshio Kuratomi
a32869d492 Allow 0 to be specified 2015-01-07 09:20:45 -08:00
Stanislav Antic
c4986bf78d Fixes #155 2015-01-05 14:59:01 +01:00
Jonathan Mainguy
d611f86e5b Addes login_port feature, similiar to how mysql_db.py works 2014-12-12 16:10:14 -05:00
Balazs Pocze
0957768755 gtid_replication parameter added to keep this module working in
environments which are using GTID replication
2014-12-01 15:16:40 +01:00
Toshio Kuratomi
317654dba5 Use the python db api to quote mysql values 2014-11-25 01:34:25 -08:00
Michael DeHaan
ad181b7aa9 Categorize some modules. 2014-11-05 16:11:23 -05:00