mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
|
||||
print stringc("invalid output was: %s" % module_msg, 'red')
|
||||
if ignore_errors:
|
||||
print stringc("...ignoring", 'yellow')
|
||||
print stringc("...ignoring", 'cyan')
|
||||
super(PlaybookRunnerCallbacks, self).on_failed(host, results, ignore_errors=ignore_errors)
|
||||
|
||||
def on_ok(self, host, host_result):
|
||||
|
@ -372,7 +372,7 @@ class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
|||
msg = "skipping: [%s] => (item=%s)" % (host, item)
|
||||
else:
|
||||
msg = "skipping: [%s]" % host
|
||||
print stringc(msg, 'yellow')
|
||||
print stringc(msg, 'cyan')
|
||||
super(PlaybookRunnerCallbacks, self).on_skipped(host, item)
|
||||
|
||||
def on_no_hosts(self):
|
||||
|
|
Loading…
Reference in a new issue