mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
Expand tilde in paths in file module
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user