1
0
Fork 0
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:
Michael DeHaan 2012-10-02 19:06:14 -07:00
commit 459d9ea30d

View file

@ -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):