Commit d1b43712 by James Cammarata

Correctly evaluate changed/failed for tasks using loops

parent 860a96cf
......@@ -83,9 +83,9 @@ class TaskExecutor:
changed = False
failed = False
for item in item_results:
if 'changed' in item:
if 'changed' in item and item['changed']:
changed = True
if 'failed' in item:
if 'failed' in item and item['failed']:
failed = True
# create the overall result item, and set the changed/failed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment