From e41d48104fadcbe37e3d09c64db8601a5f1dd9e3 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 16 Feb 2015 12:24:43 -0500 Subject: [PATCH] valutpass fix in password reorog --- lib/ansible/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/__init__.py b/lib/ansible/utils/__init__.py index c9a999357ac..6ed01266b33 100644 --- a/lib/ansible/utils/__init__.py +++ b/lib/ansible/utils/__init__.py @@ -1132,7 +1132,7 @@ def ask_passwords(ask_pass=False, ask_sudo_pass=False, ask_su_pass=False, ask_va if ask_vault_pass: vaultpass = getpass.getpass(prompt="Vault password: ") if vaultpass: - vaultpass = to_bytes(vault_pass, errors='strict', nonstring='simplerepr').strip() + vaultpass = to_bytes(vaultpass, errors='strict', nonstring='simplerepr').strip() return (sshpass, sudopass, supass, vaultpass)