Brian Coca
c4a22478c4
Merge pull request #830 from BlackMesh/devel
...
mysql_user #829 : add update_password to mysql_user
10 years ago
Dennis Rowe
539b7744d0
Strip spaces around perms
10 years ago
Jesse Sandberg
fc4c659400
Validate variable, return only the found variable value instead of tuple
...
Docs imply the mysql_variables is used to operate a single variable therefore
- fail before making any db connections if variable is not set
- validate chars for mysql variable name with re.match(^[a-z0-9_]+)
- use "SHOW VARIABLE WHERE Variable_name" instead of LIKE search
- getvariable() returns only the value or None if variable is not found
- the module returns only the found variable value instead of tuple for easier operation eg. as registere variable in tasks
10 years ago
Toshio Kuratomi
b0bc6f1379
Merge pull request #888 from ansible/mysql-port
...
Fix for int port assignment in a playbook failing
10 years ago
Toshio Kuratomi
ec6304d5a0
Merge pull request #824 from Jmainguy/mysql_db_616
...
Now correctly gzip/bzips file back up in case of import failure
10 years ago
Jonathan Mainguy
ee8039ef09
Now correctly gzip/bzips file back up in case of import failure
...
Removed gunzip and bunzip2 dependency
10 years ago
Toshio Kuratomi
a1135f803d
Fix for int port assignment in a playbook failing
...
Ports are integer values but the old code was assuming they were
strings. When login_port is put into playbook complex_args as an
integer the code would fail. This update should make the argument
validating make sure we have an integer and then we can send that value
directly to the relevant APIs.
Fixes #818
10 years ago
Toshio Kuratomi
addca40604
Fix documentation to have correct param name
10 years ago
Solomon Gifford
35434f9672
mysql_user #829 : add update_password to mysql_user
10 years ago
David Hummel
1d92dd31a6
Fix issue #793 : mysql_db: for state={absent,present} connections to database mysql fail for users other than root
10 years ago
Brian Coca
1394920cd3
Merge pull request #44 from Jmainguy/mysql_db_6860
...
adds error message if socket does not exist
10 years ago
Toshio Kuratomi
fbb9dcc69a
Also catch mysql errors so we can give the error message back through json rather than tracebacking
10 years ago
Bruce Pennypacker
272bb1fa63
requested changes
10 years ago
Bruce Pennypacker
a07873d6a3
Added support for 'REQUIRE SSL' grant option
10 years ago
sysadmin75
00b4f4d543
Fix to revoke privileges for mysql user = ''
...
Issue #9848
10 years ago
Petros Moisiadis
bd7c6dbd3a
mysql_user: Added missing privileges
...
Added missing privileges 'CREATE TABLESPACE' and 'PROXY' (see: http://dev.mysql.com/doc/refman/5.5/en/privileges-provided.html ).
10 years ago
Andrew Shults
8396c063a3
Strip white space to support multiline permissions in YAML
10 years ago
Toshio Kuratomi
e8edee4166
Fix typo
10 years ago
Toshio Kuratomi
3a80b734e6
Escape % in db+table names before adding to a format string being passed into db.execute()
...
Fixes #416
10 years ago
Toshio Kuratomi
1cab307649
Fix module traceback instead of returning an error
10 years ago
Toshio Kuratomi
7dd2859f9b
Add a bare grant to the list of allowed privileges
10 years ago
Toshio Kuratomi
10ebcccedb
Escape mysql identifiers
10 years ago
Jonathan Mainguy
16b251d743
adds error message if socket does not exist
10 years ago
Michael DeHaan
3ed1378067
Some more module categorization.
10 years ago