Go to file
Jesse Pretorius 5a31e77fb4 Add ability to symlink host python packages into venv
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
2018-12-11 10:28:24 +00:00
2018-07-30 13:10:31 +00:00
2018-08-10 16:44:00 +00:00
2018-03-09 17:50:21 +00:00
2018-09-26 18:41:31 -04:00

Team and repository tags

image

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:

http://launchpad.net/openstack-ansible

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/ansible-role-python_venv_build/

Description
Ansible role to manage the building of python venvs
Readme 2.8 MiB
Languages
Python 72.5%
Shell 27.5%