diff --git a/changelogs/fragments/124_acl.yml b/changelogs/fragments/124_acl.yml new file mode 100644 index 0000000000..5eee72a044 --- /dev/null +++ b/changelogs/fragments/124_acl.yml @@ -0,0 +1,3 @@ +--- +minor_changes: +- acl - add new alias ``recurse`` for ``recursive`` parameter (https://github.com/ansible-collections/ansible.posix/issues/124). diff --git a/plugins/modules/acl.py b/plugins/modules/acl.py index c4a55422fd..a2e3d6de7d 100644 --- a/plugins/modules/acl.py +++ b/plugins/modules/acl.py @@ -67,8 +67,10 @@ description: - Recursively sets the specified ACL. - Incompatible with C(state=query). + - Alias C(recurse) added in version 1.3.0. type: bool default: no + aliases: [ recurse ] use_nfsv4_acls: description: - Use NFSv4 ACLs instead of POSIX ACLs. @@ -273,7 +275,7 @@ def main(): ), follow=dict(type='bool', default=True), default=dict(type='bool', default=False), - recursive=dict(type='bool', default=False), + recursive=dict(type='bool', default=False, aliases=['recurse']), recalculate_mask=dict( type='str', default='default',