mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fixed bad detection of change on default and premature break
This commit is contained in:
@@ -115,6 +115,9 @@ def split_entry(entry):
|
||||
print "wtf?? %s => %s" % (entry,a)
|
||||
raise e
|
||||
|
||||
if d:
|
||||
d = True
|
||||
|
||||
if t.startswith("u"):
|
||||
t = "user"
|
||||
elif t.startswith("g"):
|
||||
@@ -248,7 +251,6 @@ def main():
|
||||
if not old_permissions == permissions:
|
||||
changed = True
|
||||
break
|
||||
break
|
||||
if not matched:
|
||||
changed=True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user