Skip to content

Conversation

@ddevadat
Copy link

@ddevadat ddevadat commented May 3, 2023

Ubuntu 22.04 is coming with default python 3.10 version and virtual environment creation is always failing when explicitly virtualenv_python value to pip task in ansible. As per the documentation of ansible(https://docs.ansible.com/ansible/latest/collections/ansible/builtin/pip_module.html),
virtualenv_python : The Python executable used for creating the virtual environment. For example python3.5, python2.7. When not specified, the Python version used to run the ansible module is used.

made the change to remove the virtualenv_python attribute from ansible pip install task in https://github.com/ocisunbird/sunbird-data-pipeline/blob/oci-5.1.0-github-issue-33/ansible/roles/portal-dashboard/tasks/main.yml

The job went fine against the branch oci-5.1.0-github-issue-33 in https://github.com/ocisunbird/sunbird-data-pipeline.git

@ddevadat ddevadat merged commit de2f266 into oci-5.1.0 May 3, 2023
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.

3 participants