draft for documenting module returns

This commit is contained in:
Brian Coca 2015-02-12 22:11:32 -05:00 committed by Matt Clay
commit bcd6a6a3d5
2 changed files with 70 additions and 0 deletions

View file

@ -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: