Commit fe70ed94 by willthames

Expand tilde in paths in file module

parent 7e849ac7
......@@ -222,6 +222,8 @@ class AnsibleModule(object):
path = params.get('path', params.get('dest', None))
if path is None:
return {}
else:
path = os.path.expanduser(path)
mode = params.get('mode', None)
owner = params.get('owner', None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment