Fixes #6082 Set vault password to None by default

pull/6084/head
James Tanner 11 years ago
parent cf5acb9982
commit 7fe3db408d

@ -100,6 +100,8 @@ def main(args):
sshpass = None sshpass = None
sudopass = None sudopass = None
su_pass = None su_pass = None
vault_pass = None
if not options.listhosts and not options.syntax and not options.listtasks: if not options.listhosts and not options.syntax and not options.listtasks:
options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS
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

Loading…
Cancel
Save