parent
d7469218a5
commit
ac73822405
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,9 @@ def main():
|
||||||
state = module.params["state"]
|
state = module.params["state"]
|
||||||
target = module.params["target"]
|
target = module.params["target"]
|
||||||
|
|
||||||
|
# make sure the target path is expanded for ~ and $HOME
|
||||||
|
target = os.path.expandvars(os.path.expanduser(target))
|
||||||
|
|
||||||
# Either the caller passes both a username and password with which to connect to
|
# Either the caller passes both a username and password with which to connect to
|
||||||
# mysql, or they pass neither and allow this module to read the credentials from
|
# mysql, or they pass neither and allow this module to read the credentials from
|
||||||
# ~/.my.cnf.
|
# ~/.my.cnf.
|
||||||
|
|
Loading…
Reference in a new issue