From 96e6a9dca715862eb4e5e7d08eb8d18ba9070ec3 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 10 Mar 2016 11:02:26 -0500 Subject: [PATCH] Don't always insert failed in the results (again) --- lib/ansible/executor/task_executor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/executor/task_executor.py b/lib/ansible/executor/task_executor.py index beceef18481..3b8be159750 100644 --- a/lib/ansible/executor/task_executor.py +++ b/lib/ansible/executor/task_executor.py @@ -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: