mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Set default for mysql_user config_file
The default value set by the module was a value of None for the config_file parameter, which propogates into the connect method call overriding the stated default in the method. Instead, the default should be set with-in the parameter specification so the file check is not requested to check None.
This commit is contained in:
parent
0d468a3aa0
commit
6f7cd5c307
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ def main():
|
|||
append_privs=dict(type="bool", default="no"),
|
||||
check_implicit_admin=dict(default=False),
|
||||
update_password=dict(default="always", choices=["always", "on_create"]),
|
||||
config_file=dict(default=None),
|
||||
config_file=dict(default="~/.my.cnf"),
|
||||
)
|
||||
)
|
||||
login_user = module.params["login_user"]
|
||||
|
|
Loading…
Reference in a new issue