mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Expand tildes and vars in the config file path
This commit is contained in:
committed by
Matt Clay
parent
d7bd36a215
commit
5027fc0642
@@ -184,7 +184,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'
|
||||
|
||||
Reference in New Issue
Block a user