mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Merge pull request #1205 from dagwieers/ignore-cyan
Make ignored/skipped different from changed
This commit is contained in:
commit
459d9ea30d
1 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
||||||
if not parsed and module_msg:
|
if not parsed and module_msg:
|
||||||
print stringc("invalid output was: %s" % module_msg, 'red')
|
print stringc("invalid output was: %s" % module_msg, 'red')
|
||||||
if ignore_errors:
|
if ignore_errors:
|
||||||
print stringc("...ignoring", 'yellow')
|
print stringc("...ignoring", 'cyan')
|
||||||
super(PlaybookRunnerCallbacks, self).on_failed(host, results, ignore_errors=ignore_errors)
|
super(PlaybookRunnerCallbacks, self).on_failed(host, results, ignore_errors=ignore_errors)
|
||||||
|
|
||||||
def on_ok(self, host, host_result):
|
def on_ok(self, host, host_result):
|
||||||
|
@ -372,7 +372,7 @@ class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
||||||
msg = "skipping: [%s] => (item=%s)" % (host, item)
|
msg = "skipping: [%s] => (item=%s)" % (host, item)
|
||||||
else:
|
else:
|
||||||
msg = "skipping: [%s]" % host
|
msg = "skipping: [%s]" % host
|
||||||
print stringc(msg, 'yellow')
|
print stringc(msg, 'cyan')
|
||||||
super(PlaybookRunnerCallbacks, self).on_skipped(host, item)
|
super(PlaybookRunnerCallbacks, self).on_skipped(host, item)
|
||||||
|
|
||||||
def on_no_hosts(self):
|
def on_no_hosts(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue