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 #1765 from dagwieers/skip-when-no-matches

Change message when a play matches no hosts
This commit is contained in:
Michael DeHaan 2012-12-15 11:59:37 -08:00
commit 6350dedd7a

View file

@ -421,7 +421,7 @@ class PlaybookCallbacks(object):
call_callback_module('playbook_on_notify', host, handler)
def on_no_hosts_matched(self):
print stringc("no hosts matched", 'red')
print stringc("skipping: no hosts matched", 'cyan')
call_callback_module('playbook_on_no_hosts_matched')
def on_no_hosts_remaining(self):