parent
4463ced8ba
commit
76feba00c4
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ class PlaybookExecutor:
|
|||
salt = var.get("salt", None)
|
||||
|
||||
if vname not in play.vars:
|
||||
self._tqm.send_callback('v2_playbook_on_vars_prompt', vname, private, prompt, encrypt, confirm, salt_size, salt, default)
|
||||
if self._tqm:
|
||||
self._tqm.send_callback('v2_playbook_on_vars_prompt', vname, private, prompt, encrypt, confirm, salt_size, salt, default)
|
||||
play.vars[vname] = self._do_var_prompt(vname, private, prompt, encrypt, confirm, salt_size, salt, default)
|
||||
|
||||
# Create a temporary copy of the play here, so we can run post_validate
|
||||
|
|
Loading…
Reference in a new issue