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:
parent
b90eccc4f8
commit
14f7c85ce7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue