Merge pull request #202 from Akasurde/i124

acl: Add new alias

Reviewed-by: https://github.com/apps/ansible-zuul
This commit is contained in:
ansible-zuul[bot] 2021-06-07 07:57:33 +00:00 committed by GitHub
commit 7417d857f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
minor_changes:
- acl - add new alias ``recurse`` for ``recursive`` parameter (https://github.com/ansible-collections/ansible.posix/issues/124).

View file

@ -67,8 +67,10 @@ options:
description: description:
- Recursively sets the specified ACL. - Recursively sets the specified ACL.
- Incompatible with C(state=query). - Incompatible with C(state=query).
- Alias C(recurse) added in version 1.3.0.
type: bool type: bool
default: no default: no
aliases: [ recurse ]
use_nfsv4_acls: use_nfsv4_acls:
description: description:
- Use NFSv4 ACLs instead of POSIX ACLs. - Use NFSv4 ACLs instead of POSIX ACLs.
@ -273,7 +275,7 @@ def main():
), ),
follow=dict(type='bool', default=True), follow=dict(type='bool', default=True),
default=dict(type='bool', default=False), default=dict(type='bool', default=False),
recursive=dict(type='bool', default=False), recursive=dict(type='bool', default=False, aliases=['recurse']),
recalculate_mask=dict( recalculate_mask=dict(
type='str', type='str',
default='default', default='default',