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

Add support for ansible-vault from virtual environment #46

Open
daincredibleholg opened this issue Jul 16, 2020 · 0 comments
Open

Add support for ansible-vault from virtual environment #46

daincredibleholg opened this issue Jul 16, 2020 · 0 comments

Comments

@daincredibleholg
Copy link

I use virtual environments for my Ansible projects. This way, I can be very granular when it comes to versions and dependencies.
Anyways, while vscode lets me select the (auto-discovered) Python interpreter from the venv, ansible-vault seems to not have such an option. My current workaround is to change the executable path to the corresponding binary in the venv. But it would be really helpful to have this some kind of auto-discovered.

The ideal solution would be to have configuration flag to say: Use virtualenv if available and in the background, the project folder(s) is searched for the corresponding ansible-vault binary. If none is found, the default one is used.

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

No branches or pull requests

1 participant