ansible/database
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
2015-03-26 16:12:18 +02:00
..
mysql Validate variable, return only the found variable value instead of tuple 2015-03-26 16:12:18 +02:00
postgresql Merge pull request #559 from mjschultz/postgres-db-fix 2015-02-11 17:38:34 -05:00
__init__.py package files 2014-09-26 11:05:47 -04:00