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 command to pre-create user site directory #221

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

tylergmuir
Copy link

This was the most elegant way I could think of to resolve #220.

This will create a directory at WORKDIR/.local/lib/python3.9/site-packages. With the default WORKDIR, it would be /runner/.local/lib/python3.9/site-packages. Which once python is launched under the runner user, the new path is included in the python paths. Then if a python module is installed during a playbook to that path, it is accessible by both modules and lookups.

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.

unable to use lookups that require python modules to be installed
1 participant