From 2449267d42da50523b6643ee8e9be1e9298bc0d8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 16 May 2016 20:00:15 +0200 Subject: [PATCH] Fix the argument for acl module (#3653) --- files/acl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/acl.py b/files/acl.py index 32910b7cb89..47a6365619d 100644 --- a/files/acl.py +++ b/files/acl.py @@ -223,7 +223,7 @@ def main(): module = AnsibleModule( argument_spec=dict( - name=dict(required=True, aliases=['path'], type='str'), + name=dict(required=True, aliases=['path'], type='path'), entry=dict(required=False, type='str'), entity=dict(required=False, type='str', default=''), etype=dict( @@ -245,7 +245,7 @@ def main(): supports_check_mode=True, ) - path = os.path.expanduser(module.params.get('name')) + path = module.params.get('name') entry = module.params.get('entry') entity = module.params.get('entity') etype = module.params.get('etype')