Expand tildes and vars in the config file path
This commit is contained in:
parent
145361aea3
commit
8c10cc20ec
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class InvalidPrivsError(Exception):
|
|||
# MySQL module specific support methods.
|
||||
#
|
||||
|
||||
def connect(module, login_user=None, login_password=None, config_file='~/.my.cnf'):
|
||||
def connect(module, login_user=None, login_password=None, config_file=''):
|
||||
config = {
|
||||
'host': module.params['login_host'],
|
||||
'db': 'mysql'
|
||||
|
|
Loading…
Reference in a new issue