mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
corrected skipped_hosts constant usage, thanks @benjixx
This commit is contained in:
parent
5a65dce6fb
commit
6b73cac35a
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ class CallbackBase:
|
|||
self.runner_on_ok(host, result._result)
|
||||
|
||||
def v2_runner_on_skipped(self, result):
|
||||
if not C.DISPLAY_SKIPPED_HOSTS:
|
||||
if C.DISPLAY_SKIPPED_HOSTS:
|
||||
host = result._host.get_name()
|
||||
#FIXME, get item to pass through
|
||||
item = None
|
||||
|
|
|
@ -78,7 +78,7 @@ class CallbackModule(CallbackBase):
|
|||
self._handle_warnings(result._result)
|
||||
|
||||
def v2_runner_on_skipped(self, result):
|
||||
if not C.DISPLAY_SKIPPED_HOSTS:
|
||||
if C.DISPLAY_SKIPPED_HOSTS:
|
||||
msg = "skipping: [%s]" % result._host.get_name()
|
||||
if (self._display.verbosity > 0 or '_ansible_verbose_always' in result._result) and not '_ansible_verbose_override' in result._result:
|
||||
msg += " => %s" % self._dump_results(result._result)
|
||||
|
|
Loading…
Reference in a new issue