Add expanduser calls on src/dest in the module too
This commit is contained in:
parent
21b2f3395a
commit
32a2636dc7
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +113,8 @@ def main():
|
||||||
add_file_common_args=True,
|
add_file_common_args=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
src = module.params['src']
|
src = os.path.expanduser(module.params['src'])
|
||||||
dest = module.params['dest']
|
dest = os.path.expanduser(module.params['dest'])
|
||||||
backup = module.params['backup']
|
backup = module.params['backup']
|
||||||
force = module.params['force']
|
force = module.params['force']
|
||||||
original_basename = module.params.get('original_basename',None)
|
original_basename = module.params.get('original_basename',None)
|
||||||
|
|
Loading…
Reference in a new issue