Commit 14f7c85c by Michael DeHaan

Include a space and a colon after prompts, so you don't have to put them in…

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
parent b90eccc4
...@@ -424,7 +424,7 @@ class PlaybookCallbacks(object): ...@@ -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): def on_vars_prompt(self, varname, private=True, prompt=None, encrypt=None, confirm=False, salt_size=None, salt=None):
if prompt: if prompt:
msg = prompt msg = "%s: " % prompt
else: else:
msg = 'input for %s: ' % varname msg = 'input for %s: ' % varname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment