Fix the argument for acl module (#3653)
This commit is contained in:
parent
190f24f30e
commit
98c729bfd7
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue