mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
acl: Add new alias
Added new alias ``recurse`` for parameter ``recursive``. Fixes: #124 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
1793cd70c4
commit
6ba8445fb1
2 changed files with 6 additions and 1 deletions
3
changelogs/fragments/124_acl.yml
Normal file
3
changelogs/fragments/124_acl.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- acl - add new alias ``recurse`` for ``recursive`` parameter (https://github.com/ansible-collections/ansible.posix/issues/124).
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue