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

RUN-2626: fix when master password configured #375

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

ronaveva
Copy link
Contributor

@ronaveva ronaveva commented Jul 8, 2024

When the master password is configured at ansible.cfg level, the command to encrypt fails due to ansible not supporting the "--vault-id" parameter.

Fix:
Instead of using "--vault-id" it will now use "--encrypt-vault-id" and provide the env var "ANSIBLE_VAULT_IDENTITY_LIST" to provide the vault id as shown in the docs https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_VAULT_IDENTITY_LIST

Also whenever the encrypt command fails it will propagate the exception

@ronaveva ronaveva added this to the 5.5.0 milestone Jul 8, 2024
@ronaveva ronaveva marked this pull request as ready for review July 8, 2024 23:28
@ronaveva ronaveva requested a review from ltamaster July 8, 2024 23:28
@ronaveva ronaveva requested a review from ltamaster July 9, 2024 13:48
@ltamaster ltamaster merged commit b4d9fd9 into main Jul 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants