Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
84467a8f
Commit
84467a8f
authored
Feb 19, 2014
by
James Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change retype to confirm
parent
aa46ab1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/ansible/utils/__init__.py
+2
-2
No files found.
lib/ansible/utils/__init__.py
View file @
84467a8f
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment