mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
generalized warning handling, added it to adhoc also
This commit is contained in:
parent
d4ac73a1bc
commit
1aa4155266
3 changed files with 10 additions and 5 deletions
|
@ -51,6 +51,7 @@ class CallbackModule(CallbackBase):
|
|||
|
||||
def v2_runner_on_ok(self, result):
|
||||
self._display.display("%s | SUCCESS => %s" % (result._host.get_name(), self._dump_results(result._result)), color='green')
|
||||
self._handle_warnings(result._result)
|
||||
|
||||
def v2_runner_on_skipped(self, result):
|
||||
self._display.display("%s | SKIPPED" % (result._host.get_name()), color='cyan')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue