failed, skipped, and unreachable all seem to be needed for various callbacks. Fixes #34716 (#34724)

This commit is contained in:
Matt Martz 2018-01-18 14:42:40 -06:00 committed by GitHub
parent 0a86287a92
commit d8329e530c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ from copy import deepcopy
from ansible.parsing.dataloader import DataLoader
from ansible.vars.clean import strip_internal_keys
_IGNORE = ('failed', 'skipped')
_PRESERVE = ('attempts', 'changed', 'retries')
_IGNORE = tuple()
_PRESERVE = ('attempts', 'changed', 'retries', 'failed', 'unreachable', 'skipped')
class TaskResult: