Ansible role to manage the building of python venvs
5a31e77fb4
Some python packages have C bindings which tend to be very particular about the version of their underlying shared libraries. To ensure things run smoothly for stable releases, we opt to use the distro packages for these python packages and symlink the appropriate python library files and their bindings into the venv. This functionality is required for libvirt and ceph and is used across multiple roles. Change-Id: Ib5b7fa1d06abe1e1bb4f14aea7de4207b61aca88 |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
tests | ||
vars | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
LICENSE | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
Vagrantfile |
Team and repository tags
OpenStack-Ansible python_venv_build
This Ansible role prepares a python venv for use in OpenStack-Ansible.
The role requires the following to be present prior to execution:
- virtualenv >= 1.10 (to support using the never-download option)
- pip >= 7.1 (to support using the constraints option) in the virtualenv once it has been created.
Use-cases
This role is built to cater to the following use-cases:
- # Execute a build against a build host, then serve the venvs from a web
-
server.
- # Execute a build against the first host in a group, then serving the
-
venvs from the deployment host.
References
- Documentation for the project can be found at:
-
https://docs.openstack.org/openstack-ansible-python_venv_build/latest/
- The project home is at:
- Release notes for the project can be found at:
-
https://docs.openstack.org/releasenotes/ansible-role-python_venv_build/