1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
James Cammarata 2016-03-10 11:02:26 -05:00
parent a07495e4c8
commit 09e5f0578a

View file

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