Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-vault decrypt is broken (fix included) #8752

Closed
oddjobz opened this issue Aug 26, 2014 · 4 comments
Closed

ansible-vault decrypt is broken (fix included) #8752

oddjobz opened this issue Aug 26, 2014 · 4 comments
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release

Comments

@oddjobz
Copy link

oddjobz commented Aug 26, 2014

Issue Type: Bug Report
Ansible Version: 1.8 and 1.7.1
Environment: All
Summary: Mis-named variable breaks "ansible-vault decrypt" when used with --vault-password-file
Steps To Reproduce:

ansible-vault decrypt --vault-password-file=~/.password_file

Expected Results:

"File Decrypted"

Actual Results:

"ERROR: Values instance has no attribute 'vault_password_file'"

@oddjobz
Copy link
Author

oddjobz commented Aug 26, 2014

Line 118 in bin/ansible-vault , replace "vault_password_file" with "password_file"

@mpdehaan
Copy link
Contributor

Thanks for the report, in the future, please submit code changes via github pull requests so they are easy to apply and merge.

@jimi-c
Copy link
Member

jimi-c commented Aug 26, 2014

Closing This Ticket

Hi!

We believe the above commit should resolve this problem for you. This will also be included in the next major release.

If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:

Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved.

Thank you!

@jimi-c jimi-c closed this as completed Aug 26, 2014
jimi-c added a commit that referenced this issue Aug 26, 2014
ansible-vault: The correct option is password_file. Fixes #8752
@dstynchula
Copy link

this fixed my problem in ansible 1.7.1 on mac. 👍

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release
Projects
None yet
Development

No branches or pull requests

5 participants