mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed bad detection of change on default and premature break
This commit is contained in:
parent
b3a1d528aa
commit
b81a3bbb20
1 changed files with 3 additions and 1 deletions
|
@ -115,6 +115,9 @@ def split_entry(entry):
|
||||||
print "wtf?? %s => %s" % (entry,a)
|
print "wtf?? %s => %s" % (entry,a)
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
if d:
|
||||||
|
d = True
|
||||||
|
|
||||||
if t.startswith("u"):
|
if t.startswith("u"):
|
||||||
t = "user"
|
t = "user"
|
||||||
elif t.startswith("g"):
|
elif t.startswith("g"):
|
||||||
|
@ -248,7 +251,6 @@ def main():
|
||||||
if not old_permissions == permissions:
|
if not old_permissions == permissions:
|
||||||
changed = True
|
changed = True
|
||||||
break
|
break
|
||||||
break
|
|
||||||
if not matched:
|
if not matched:
|
||||||
changed=True
|
changed=True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue