Include a space and a colon after prompts, so you don't have to put them in yourself. Consistent with documented behavior in examples/playbooks/prompts.yml

This commit is contained in:
Michael DeHaan 2012-10-01 22:15:00 -04:00
parent b90eccc4f8
commit 14f7c85ce7

View file

@ -424,7 +424,7 @@ class PlaybookCallbacks(object):
def on_vars_prompt(self, varname, private=True, prompt=None, encrypt=None, confirm=False, salt_size=None, salt=None):
if prompt:
msg = prompt
msg = "%s: " % prompt
else:
msg = 'input for %s: ' % varname