Fix the argument for acl module (#3653)

This commit is contained in:
Michael Scherer 2016-05-16 20:00:15 +02:00 committed by Matt Clay
parent 190f24f30e
commit 98c729bfd7

View file

@ -223,7 +223,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( 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'), entry=dict(required=False, type='str'),
entity=dict(required=False, type='str', default=''), entity=dict(required=False, type='str', default=''),
etype=dict( etype=dict(
@ -245,7 +245,7 @@ def main():
supports_check_mode=True, supports_check_mode=True,
) )
path = os.path.expanduser(module.params.get('name')) path = module.params.get('name')
entry = module.params.get('entry') entry = module.params.get('entry')
entity = module.params.get('entity') entity = module.params.get('entity')
etype = module.params.get('etype') etype = module.params.get('etype')