mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
correctly deal with changed (#31812)
This commit is contained in:
parent
5751b9b224
commit
21cdddce74
3 changed files with 7 additions and 2 deletions
|
@ -95,6 +95,8 @@ class CallbackModule(CallbackBase):
|
|||
else:
|
||||
|
||||
if (self._display.verbosity > 0 or '_ansible_verbose_always' in result._result) and '_ansible_verbose_override' not in result._result:
|
||||
if result._task.action == 'debug' and 'changed' in result._result:
|
||||
del result._result['changed']
|
||||
msg += " => %s" % (self._dump_results(result._result),)
|
||||
self._display.display(msg, color=color)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue