From 84467a8f124a0341f9d45d3c15b48fd7e5e1c1f0 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Wed, 19 Feb 2014 11:06:53 -0500 Subject: [PATCH] Change retype to confirm --- lib/ansible/utils/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/utils/__init__.py b/lib/ansible/utils/__init__.py index 5bb3ccda7d..3df2ddfbed 100644 --- a/lib/ansible/utils/__init__.py +++ b/lib/ansible/utils/__init__.py @@ -772,7 +772,7 @@ def ask_vault_passwords(ask_vault_pass=False, ask_new_vault_pass=False, confirm_ vault_pass = getpass.getpass(prompt="Vault password: ") if ask_vault_pass and confirm_vault: - vault_pass2 = getpass.getpass(prompt="Retype Vault password: ") + vault_pass2 = getpass.getpass(prompt="Confirm Vault password: ") if vault_pass != vault_pass2: raise errors.AnsibleError("Passwords do not match") @@ -780,7 +780,7 @@ def ask_vault_passwords(ask_vault_pass=False, ask_new_vault_pass=False, confirm_ new_vault_pass = getpass.getpass(prompt="New Vault password: ") if ask_new_vault_pass and confirm_new: - new_vault_pass2 = getpass.getpass(prompt="Retype New Vault password: ") + new_vault_pass2 = getpass.getpass(prompt="Confirm New Vault password: ") if new_vault_pass != new_vault_pass2: raise errors.AnsibleError("Passwords do not match")