Misc cleanup -- moved function out of utils, removed debug statement.

This commit is contained in:
Michael DeHaan 2012-07-15 08:50:23 -04:00
parent 19a2fc00dc
commit 706cfd9ade
3 changed files with 4 additions and 9 deletions

View file

@ -239,7 +239,10 @@ class PlaybookCallbacks(object):
pass
def on_task_start(self, name, is_conditional):
print banner(utils.task_start_msg(name, is_conditional))
msg = "TASK: [%s]" % name
if is_conditional:
msg = "NOTIFIED: [%s]" % name
print banner(msg)
def on_vars_prompt(self, varname, private=True):
msg = 'input for %s: ' % varname