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 venv not in path and playbook fails with "boto3 required for this module" error #20309

Closed
simaishi opened this issue Jun 24, 2020 · 2 comments · Fixed by #20322
Closed

Comments

@simaishi
Copy link
Contributor

PYTHON3_MODULE_PATHS was never updated to include the ansible venv path when we moved to python3 (CentOS8) and it can't find the python modules.

I'm not sure if adding "/var/lib/manageiq/venv/lib/python3.6/site-packages" to the path is the only thing needed, so opening an issue.

cc @NickLaMuro

@Fryguy
Copy link
Member

Fryguy commented Jul 1, 2020

Possibly related, but I'm starting to think (maybe not for jansa), if we should just completely remove any out of the box python modules, and enforce that the user uses a proper requirements file in their playbooks.

@NickLaMuro
Copy link
Member

For now, this should be addressed here:

#20322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants