fix issue with ask pass signature
This commit is contained in:
parent
57aa40420f
commit
1fd0a78b0e
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def main(args):
|
||||||
options.ask_vault_pass = options.ask_vault_pass or C.DEFAULT_ASK_VAULT_PASS
|
options.ask_vault_pass = options.ask_vault_pass or C.DEFAULT_ASK_VAULT_PASS
|
||||||
|
|
||||||
if options.listhosts or options.syntax or options.listtasks or options.listtags:
|
if options.listhosts or options.syntax or options.listtasks or options.listtags:
|
||||||
(_, _, _, vault_pass) = utils.ask_passwords(ask_vault_pass=options.ask_vault_pass)
|
(_, _, vault_pass) = utils.ask_passwords(ask_vault_pass=options.ask_vault_pass)
|
||||||
else:
|
else:
|
||||||
options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS
|
options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS
|
||||||
# Never ask for an SSH password when we run with local connection
|
# Never ask for an SSH password when we run with local connection
|
||||||
|
|
Loading…
Reference in a new issue