added msg info to unreachable for oneline callback

fixes #17367
This commit is contained in:
Brian Coca 2016-09-14 11:32:30 -04:00
parent c654a4617a
commit 4656b6a846

View file

@ -66,7 +66,7 @@ class CallbackModule(CallbackBase):
def v2_runner_on_unreachable(self, result): def v2_runner_on_unreachable(self, result):
self._display.display("%s | UNREACHABLE!" % result._host.get_name(), color=C.COLOR_UNREACHABLE) self._display.display("%s | UNREACHABLE!: %s" % (result._host.get_name(), result._result.get('msg','')), color=C.COLOR_UNREACHABLE)
def v2_runner_on_skipped(self, result): def v2_runner_on_skipped(self, result):
self._display.display("%s | SKIPPED" % (result._host.get_name()), color=C.COLOR_SKIP) self._display.display("%s | SKIPPED" % (result._host.get_name()), color=C.COLOR_SKIP)