mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Move default arguments to the end of the function call.
This commit is contained in:
parent
7ae100611c
commit
395093e0bf
5 changed files with 8 additions and 8 deletions
|
@ -199,7 +199,7 @@ class Play(object):
|
|||
|
||||
if vname not in self.playbook.extra_vars:
|
||||
vars[vname] = self.playbook.callbacks.on_vars_prompt (
|
||||
vname, default, private, prompt, encrypt, confirm, salt_size, salt
|
||||
vname, private, prompt, encrypt, confirm, salt_size, salt, default
|
||||
)
|
||||
|
||||
elif type(self.vars_prompt) == dict:
|
||||
|
@ -207,7 +207,7 @@ class Play(object):
|
|||
prompt_msg = "%s: " % prompt
|
||||
if vname not in self.playbook.extra_vars:
|
||||
vars[vname] = self.playbook.callbacks.on_vars_prompt(
|
||||
varname=vname, default=None, private=False, prompt=prompt_msg
|
||||
varname=vname, private=False, prompt=prompt_msg, default=None
|
||||
)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue