summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2018-01-18 14:42:40 -0600
committerMatt Martz <matt@sivel.net>2018-01-25 09:28:30 -0600
commit302462ad2f2a5afeaf374993c85c63de9a256f56 (patch)
tree527995b6f92e0f36bfaaeb95f776db4f7215be82
parentd4db3f34f7168968ce7474722881184cdb7579c1 (diff)
downloadansible-302462ad2f2a5afeaf374993c85c63de9a256f56.tar.gz
failed, skipped, and unreachable all seem to be needed for various callbacks. Fixes #34716 (#34724)
(cherry picked from commit d8329e530c3e7b2590cd16456b9104c19362d0c2)
-rw-r--r--lib/ansible/executor/task_result.py4
1 files 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: