From 302462ad2f2a5afeaf374993c85c63de9a256f56 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 18 Jan 2018 14:42:40 -0600 Subject: failed, skipped, and unreachable all seem to be needed for various callbacks. Fixes #34716 (#34724) (cherry picked from commit d8329e530c3e7b2590cd16456b9104c19362d0c2) --- lib/ansible/executor/task_result.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/executor/task_result.py b/lib/ansible/executor/task_result.py index 3c94e44c34..0eb3032d9c 100644 --- a/lib/ansible/executor/task_result.py +++ b/lib/ansible/executor/task_result.py @@ -24,8 +24,8 @@ from copy import deepcopy from ansible.parsing.dataloader import DataLoader from ansible.vars.manager import strip_internal_keys -_IGNORE = ('failed', 'skipped') -_PRESERVE = ('attempts', 'changed', 'retries') +_IGNORE = tuple() +_PRESERVE = ('attempts', 'changed', 'retries', 'failed', 'unreachable', 'skipped') class TaskResult: -- cgit v1.2.1