Fix minor whitespace issues
This commit is contained in:
parent
9ad712018c
commit
08e8f732c5
1 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,7 @@ module: acl
|
||||||
version_added: "1.4"
|
version_added: "1.4"
|
||||||
short_description: Sets and retrieves file ACL information.
|
short_description: Sets and retrieves file ACL information.
|
||||||
description:
|
description:
|
||||||
- Sets and retrieves file ACL information.
|
- Sets and retrieves file ACL information.
|
||||||
notes:
|
notes:
|
||||||
- As of Ansible 2.0, this module only supports Linux distributions.
|
- As of Ansible 2.0, this module only supports Linux distributions.
|
||||||
options:
|
options:
|
||||||
|
@ -122,6 +122,7 @@ acl:
|
||||||
sample: [ "user::rwx", "group::rwx", "other::rwx" ]
|
sample: [ "user::rwx", "group::rwx", "other::rwx" ]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
def split_entry(entry):
|
def split_entry(entry):
|
||||||
''' splits entry and ensures normalized return'''
|
''' splits entry and ensures normalized return'''
|
||||||
|
|
||||||
|
@ -161,7 +162,7 @@ def build_entry(etype, entity, permissions=None):
|
||||||
|
|
||||||
|
|
||||||
def build_command(module, mode, path, follow, default, recursive, entry=''):
|
def build_command(module, mode, path, follow, default, recursive, entry=''):
|
||||||
'''Builds and returns agetfacl/setfacl command.'''
|
'''Builds and returns a getfacl/setfacl command.'''
|
||||||
if mode == 'set':
|
if mode == 'set':
|
||||||
cmd = [module.get_bin_path('setfacl', True)]
|
cmd = [module.get_bin_path('setfacl', True)]
|
||||||
cmd.append('-m "%s"' % entry)
|
cmd.append('-m "%s"' % entry)
|
||||||
|
|
Loading…
Reference in a new issue