Ansible role to manage the building of python venvs
Go to file
Jesse Pretorius d169906c68 Revise the role to properly cater to use-cases
1. Variables have been renamed to make it easier to
   understand their purpose.
2. Unnecessary variables have been removed.
3. The role no longer caters to installing pip packages
   on the host. This should never be necessary - if it
   is, then something should do so beforehand.
4. The expected versions of pip/virtualenv are documented
   and a check has been added to ensure that they exist.
5. The handler has been named to make debug logs less
   confusing.
6. The default storage path for venvs/wheels is no longer
   opinionated. If paths based on distro/architecture are
   required then different paths should be provided to
   the role.

Change-Id: I9eb96e9db22f918b00456af943d81f66050107ce
2018-05-04 18:03:59 +01:00
defaults Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
doc Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
handlers Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
meta Initial commit 2018-03-09 17:50:21 +00:00
releasenotes Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
tasks Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
tests Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
vars Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
zuul.d Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-28 09:23:18 +00:00
.gitreview Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
bindep.txt Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
LICENSE Initial commit 2018-03-09 17:50:21 +00:00
README.rst Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
run_tests.sh Update run_tests.sh and remove tests-repo-clone.sh 2018-03-27 23:08:44 +01:00
setup.cfg Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
setup.py Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
test-requirements.txt Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
tox.ini Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
Vagrantfile Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00: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:

  • pip >= 7.1 (to support using the constraints option)
  • virtualenv >= 13.0.0 (to support using the no-pip, no-setuptools, no-wheels options)

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