c54aa8117e
There are some packages which absolutely must be there for all wheel builds, or for installing without wheels. Without them, pip is totally unable to compile the package due to missing headers or tooling. This patch adds a default, minimal, set of compilers and python headers. Rather than use include_vars, with_first_found as we do in most other roles, we use vars/main and a dict based on ansible_os_family. The role is often included by other roles, and we'd rather not risk the search path being incorrect (there are constant bugs related to this in ansible). Using this mechanism takes away the need for an include_vars task and avoids any pathing issues. Change-Id: I4ef11e47e4d3fe5adc65e9888e660a5a121d205b |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
tests | ||
vars | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
bindep.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini |
README.rst
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/