mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
draft for documenting module returns
This commit is contained in:
parent
0fbe26273d
commit
bcd6a6a3d5
2 changed files with 70 additions and 0 deletions
|
@ -102,6 +102,14 @@ EXAMPLES = '''
|
|||
register: acl_info
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
acl:
|
||||
description: Current acl on provided path (after changes, if any)
|
||||
returned: always
|
||||
type: list
|
||||
sample: [ "user::rwx", "group::rwx", "other::rwx" ]
|
||||
'''
|
||||
|
||||
def normalize_permissions(p):
|
||||
perms = ['-','-','-']
|
||||
for char in p:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue