mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-23 06:21:45 -07:00
Allow uppercase in variable names for Galera wsrep variables
This commit is contained in:
parent
b8d6474540
commit
4728a3a9f4
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ def main():
|
||||||
|
|
||||||
if mysqlvar is None:
|
if mysqlvar is None:
|
||||||
module.fail_json(msg="Cannot run without variable to operate with")
|
module.fail_json(msg="Cannot run without variable to operate with")
|
||||||
if match('^[0-9a-z_.]+$', mysqlvar) is None:
|
if match('^[0-9A-Za-z_.]+$', mysqlvar) is None:
|
||||||
module.fail_json(msg="invalid variable name \"%s\"" % mysqlvar)
|
module.fail_json(msg="invalid variable name \"%s\"" % mysqlvar)
|
||||||
if mysql_driver is None:
|
if mysql_driver is None:
|
||||||
module.fail_json(msg=mysql_driver_fail_msg)
|
module.fail_json(msg=mysql_driver_fail_msg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue