Allow playbook specified login_user and login_password to override config file settings
This commit is contained in:
parent
46b60a5b70
commit
4f42e752e6
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class InvalidPrivsError(Exception):
|
|||
# MySQL module specific support methods.
|
||||
#
|
||||
|
||||
def connect(module, login_user, login_password, config_file='~/.my.cnf'):
|
||||
def connect(module, login_user=None, login_password=None, config_file='~/.my.cnf'):
|
||||
config = {
|
||||
'host': module.params['login_host'],
|
||||
'db': 'mysql'
|
||||
|
|
Loading…
Reference in a new issue