mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
removed extra 'changed' from debug output
This commit is contained in:
parent
c86feeaed9
commit
f7566ef1f1
1 changed files with 4 additions and 2 deletions
|
@ -208,8 +208,10 @@ class CallbackBase:
|
||||||
del result._result['results']
|
del result._result['results']
|
||||||
|
|
||||||
def _clean_results(self, result, task_name):
|
def _clean_results(self, result, task_name):
|
||||||
if 'invocation' in result and task_name in ['debug']:
|
if task_name in ['debug']:
|
||||||
del result['invocation']
|
for remove_key in ('changed', 'invocation'):
|
||||||
|
if remove_key in result:
|
||||||
|
del result[remove_key]
|
||||||
|
|
||||||
|
|
||||||
def set_play_context(self, play_context):
|
def set_play_context(self, play_context):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue