openstack-ansible-os_swift/tasks
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
..
main.yml Move swift ring tasks before systemd tasks 2018-08-16 19:40:09 -05:00
mq_setup.yml Updated from OpenStack Ansible Tests 2018-08-20 10:50:21 +00:00
swift_calculate_addresses.yml Fix typo in error message 2017-01-11 16:09:16 +00:00
swift_check_hashes.yml Add check for swift_hash_path_ variables 2016-09-14 13:06:53 +00:00
swift_install.yml Fix usage of "|" for tests 2018-07-30 08:39:35 +00:00
swift_install_source.yml Use a common python build/install role 2018-09-03 11:07:02 +00:00
swift_key_distribute.yml Cleanup/standardize usage of tags 2016-08-16 09:30:41 -05:00
swift_key_populate.yml Cleanup/standardize usage of tags 2016-08-16 09:30:41 -05:00
swift_key_setup.yml Change include: to include_tasks: 2018-02-16 19:32:48 +00:00
swift_post_install.yml Use dictionary for service mappings 2016-10-13 13:30:58 +01:00
swift_pre_install.yml Converted the limits config to use systemd 2017-01-30 18:56:52 +00:00
swift_proxy_hosts.yml Fix usage of "|" for tests 2018-07-30 08:39:35 +00:00
swift_pypy_setup.yml Fix usage of "|" for tests 2018-07-30 08:39:35 +00:00
swift_rings.yml Drop SELinux support from os_swift 2018-06-30 13:30:47 -04:00
swift_rings_build.yml Remove jinja2 delimiters from when 2017-12-01 10:24:05 -06:00
swift_rings_check.yml Fix linting issues for ansible-lint 3.4.1 2016-11-02 13:03:19 +00:00
swift_rings_distribute.yml Suppress rsync warnings w/command 2017-09-01 09:39:40 -05:00
swift_rings_md5sum.yml Fix linting issues for ansible-lint 3.4.1 2016-11-02 13:03:19 +00:00
swift_rings_post_distribution_check.yml Bring consistency to tags 2017-01-13 13:44:06 +00:00
swift_service_setup.yml Execute service setup against a delegated host using Ansible built-in modules 2018-07-31 17:37:02 +00:00
swift_storage_hosts.yml Change include: to include_tasks: 2018-02-16 19:32:48 +00:00
swift_storage_hosts_account.yml Use dictionary for service mappings 2016-10-13 13:30:58 +01:00
swift_storage_hosts_container.yml Update container-sync to use internal client 2017-04-04 15:04:19 +00:00
swift_storage_hosts_object.yml Use dictionary for service mappings 2016-10-13 13:30:58 +01:00
swift_storage_hosts_setup.yml Add CentOS7 support for Swift 2016-11-14 17:03:02 +00:00