mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
hide uneeded fields for callbacks (#36259)
* hide uneeded fields for callbacks fix selective instead of pushing uneeded fields to the methods * piipii
This commit is contained in:
@@ -10,8 +10,8 @@ from copy import deepcopy
|
||||
from ansible.parsing.dataloader import DataLoader
|
||||
from ansible.vars.clean import strip_internal_keys
|
||||
|
||||
_IGNORE = tuple()
|
||||
_PRESERVE = ('attempts', 'changed', 'retries', 'failed', 'unreachable', 'skipped')
|
||||
_IGNORE = ('failed', 'skipped')
|
||||
_PRESERVE = ('attempts', 'changed', 'retries')
|
||||
|
||||
|
||||
class TaskResult:
|
||||
|
||||
Reference in New Issue
Block a user