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
6ec5abf1
Commit
6ec5abf1
authored
Oct 01, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some pyflakes
parent
75f99f87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/ansible/cli/__init__.py
+3
-3
No files found.
lib/ansible/cli/__init__.py
View file @
6ec5abf1
...
...
@@ -120,7 +120,7 @@ class CLI(object):
if
ask_vault_pass
and
confirm_vault
:
vault_pass2
=
getpass
.
getpass
(
prompt
=
"Confirm Vault password: "
)
if
vault_pass
!=
vault_pass2
:
raise
errors
.
AnsibleError
(
"Passwords do not match"
)
raise
AnsibleError
(
"Passwords do not match"
)
if
ask_new_vault_pass
:
new_vault_pass
=
getpass
.
getpass
(
prompt
=
"New Vault password: "
)
...
...
@@ -128,7 +128,7 @@ class CLI(object):
if
ask_new_vault_pass
and
confirm_new
:
new_vault_pass2
=
getpass
.
getpass
(
prompt
=
"Confirm New Vault password: "
)
if
new_vault_pass
!=
new_vault_pass2
:
raise
errors
.
AnsibleError
(
"Passwords do not match"
)
raise
AnsibleError
(
"Passwords do not match"
)
except
EOFError
:
pass
...
...
@@ -355,7 +355,7 @@ class CLI(object):
''' return full ansible version info '''
if
gitinfo
:
# expensive call, user with care
ansible_version_string
=
version
(
''
)
ansible_version_string
=
CLI
.
version
(
''
)
else
:
ansible_version_string
=
__version__
ansible_version
=
ansible_version_string
.
split
()[
0
]
...
...
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