-
Notifications
You must be signed in to change notification settings - Fork 17
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
Encryption fails if ansible fault file is specified in ansible.cfg #26
Comments
I see in #9 the function was added to prefer the settings in |
To address dhoeric#26 added a flag to perfer user config over ansible.cfg. Best for workspace settings
Seems to be a limitation of ansible-vault not this plugin https://docs.ansible.com/ansible/latest/user_guide/vault.html |
Example of how you can not override ansible.cfg setting: vault_password_file=/etc/awx/vault-pass ansible-vault decrypt "vars.yml" --vault-password-file="vault-pass"
ERROR! The vault password file /private/etc/awx/vault-pass was not found |
I had a similar problem and solve with PR #32. My |
Please see issue reported on Ansible's Repo: ansible/ansible#46310
if vault file path is defined in ansible.cfg --vault-password-file should not be specified on the commandline otherwise encrypt will stop functioning from the extension.
Can the extension be made to only include --vault-password-file="" if the field in the extension settings is populated?
The text was updated successfully, but these errors were encountered: