Merge pull request #1765 from dagwieers/skip-when-no-matches
Change message when a play matches no hostspull/4420/head
commit
6350dedd7a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue