Fix blind override in failed_when

caused all task failures to be success
pull/14889/head
nitzmahone 9 years ago
parent 9318727021
commit dbff3a6bbc

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

Loading…
Cancel
Save