mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 05:19:09 -07: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:
parent
c119d54e4a
commit
6af5693dc2
2 changed files with 14 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue