Role os_swift for OpenStack-Ansible
Go to file
Jesse Pretorius 7126647d7d Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.

We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.

This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:

1. Replaces 'developer mode' with an equivalent mechanism
   that uses the common role and is simpler to understand.
   We will also simplify the provisioning of pip install
   arguments when doing this.
2. Simplifies the installation of optional pip packages.
   Right now it's more complicated than it needs to be due
   to us needing to keep the py_pkgs plugin working in the
   integrated build.
3. Deduplicates the distro package installs. Right now the
   role installs the distro packages twice - just before
   building the venv, and during the python_venv_build role
   execution.

Depends-On: https://review.openstack.org/598957
Change-Id: Iecb64d28afe3acfbae7060af55c1a891310e5ef4
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 11:07:02 +00:00
defaults Use a common python build/install role 2018-09-03 11:07:02 +00:00
doc Replace swiftoperator role with swift_operator_role variable 2018-06-21 19:44:45 -05:00
examples Relocate Swift configuration docs to os_swift role 2016-08-15 12:54:04 -04:00
handlers Use a common python build/install role 2018-09-03 11:07:02 +00:00
meta Add bionic to galaxy_info metadata 2018-08-19 18:53:47 +00:00
releasenotes Update reno for stable/rocky 2018-08-10 16:48:26 +00:00
tasks Use a common python build/install role 2018-09-03 11:07:02 +00:00
templates Merge "Replace swiftoperator role with swift_operator_role variable" 2018-07-02 15:22:11 +00:00
tests Fix usage of "|" for tests 2018-07-30 08:39:35 +00:00
vars vars: Add missing python-keystonemiddleware dependency 2018-08-06 12:52:55 +01:00
zuul.d switch documentation job to new PTI 2018-08-21 13:22:04 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:56:12 +00:00
.gitreview Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
CONTRIBUTING.rst Adding Vagrantfile for local developer testing 2016-03-02 15:43:59 -05:00
LICENSE Implement base configuration for independent repository 2016-03-01 15:03:17 -06:00
README.rst Add release notes link to README 2018-06-12 00:03:43 -07:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:44:04 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:06:39 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 13:27:00 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:16:24 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 14:08:15 +08:00
setup.py Updated from global requirements 2017-03-02 11:52:07 +00:00
tox.ini Merge "fix tox python3 overrides" 2018-08-28 12:43:06 +00:00

README.rst

Team and repository tags

image

Swift role for OpenStack-Ansible

Ansible role to install OpenStack swift and swift registry.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_swift/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_swift/

The project home is at:

https://launchpad.net/openstack-ansible