mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix: Default ACL parameters are not correctly handled
This commit is contained in:
@@ -183,9 +183,9 @@ def build_command(module, mode, path, follow, default, recursive, entry=''):
|
|||||||
|
|
||||||
if default:
|
if default:
|
||||||
if(mode == 'rm'):
|
if(mode == 'rm'):
|
||||||
cmd.append('-k')
|
cmd.insert(1, '-k')
|
||||||
else: # mode == 'set' or mode == 'get'
|
else: # mode == 'set' or mode == 'get'
|
||||||
cmd.append('-d')
|
cmd.insert(1, '-d')
|
||||||
|
|
||||||
cmd.append(path)
|
cmd.append(path)
|
||||||
return cmd
|
return cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user