mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Merge pull request #2 from test-ansible/revert-1-test_pr_example
Revert "Update acl.py"
This commit is contained in:
commit
265ed63f8f
1 changed files with 0 additions and 1 deletions
|
|
@ -190,7 +190,6 @@ def build_command(module, mode, path, follow, default, recursive, recalculate_ma
|
||||||
'''Builds and returns a getfacl/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.extend(['-m', entry])
|
|
||||||
elif mode == 'rm':
|
elif mode == 'rm':
|
||||||
cmd = [module.get_bin_path('setfacl', True)]
|
cmd = [module.get_bin_path('setfacl', True)]
|
||||||
cmd.extend(['-x', entry])
|
cmd.extend(['-x', entry])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue