mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix wrong processing of lines returned by setfacl in test mode
This commit is contained in:
committed by
Matt Clay
parent
08e8f732c5
commit
6c298e20c0
@@ -199,8 +199,8 @@ def acl_changed(module, cmd):
|
||||
|
||||
for line in lines:
|
||||
if not line.endswith('*,*'):
|
||||
return False
|
||||
return True
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def run_acl(module, cmd, check_rc=True):
|
||||
|
||||
Reference in New Issue
Block a user