Don't always insert failed in the results (again)

pull/15204/head
James Cammarata 9 years ago
parent 0f9dd9a74e
commit 96e6a9dca7

@ -465,7 +465,6 @@ class TaskExecutor:
result['failed_when_result'] = result['failed'] = failed_when_result result['failed_when_result'] = result['failed'] = failed_when_result
else: else:
failed_when_result = False failed_when_result = False
result['failed'] = result.get('failed', False)
return failed_when_result return failed_when_result
if 'ansible_facts' in result: if 'ansible_facts' in result:

Loading…
Cancel
Save