Show more info in the minimal callback for unreachable hosts

Fixes #12621
pull/4420/head
James Cammarata 2015-10-03 01:41:57 -04:00
parent 613e87db6c
commit 38528c8ef3
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class CallbackModule(CallbackBase):
self._display.display("%s | SKIPPED" % (result._host.get_name()), color='cyan') self._display.display("%s | SKIPPED" % (result._host.get_name()), color='cyan')
def v2_runner_on_unreachable(self, result): def v2_runner_on_unreachable(self, result):
self._display.display("%s | UNREACHABLE!" % result._host.get_name(), color='yellow') self._display.display("%s | UNREACHABLE! => %s" % (result._host.get_name(), self._dump_results(result._result, indent=4)), color='yellow')
def v2_on_file_diff(self, result): def v2_on_file_diff(self, result):
if 'diff' in result._result and result._result['diff']: if 'diff' in result._result and result._result['diff']: