Role os_trove for OpenStack-Ansible
Go to file
Jesse Pretorius 92614127c7 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.

Depends-On: https://review.openstack.org/598957
Change-Id: Iaff49b75b03635fb07260c9a96f6459d270aed83
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 17:57:33 +01:00
defaults Use a common python build/install role 2018-09-03 17:57:33 +01:00
doc Fix doc8 failure 2018-08-28 09:43:40 +02:00
examples Remove unnecessary MQ vhost/user creation tasks/vars 2018-07-30 13:24:18 +00:00
handlers Use a common python build/install role 2018-09-03 17:57:33 +01:00
library Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
meta Add bionic to galaxy_info metadata 2018-08-02 15:06:53 +01:00
releasenotes Update reno for stable/rocky 2018-08-10 16:48:43 +00:00
tasks Use a common python build/install role 2018-09-03 17:57:33 +01:00
templates Update to use oslo.messaging service for RPC and Notify 2018-07-03 12:43:55 -04:00
tests Update trove tempest plugin path 2018-08-17 13:04:52 +00:00
vars Merge "Switch to using project-templates" 2018-08-04 22:12:48 +00:00
zuul.d switch documentation job to new PTI 2018-08-28 07:44:01 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:56:55 +00:00
.gitreview Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:06:46 +00:00
CONTRIBUTING.rst Update links in CONTRIBUTING.rst 2017-09-20 09:28:37 +08:00
LICENSE Update 2016-08-25 14:56:41 +02:00
manual-test.rc Functional testing for the role gate 2016-09-23 05:56:55 +02:00
README.rst Fix doc8 failure 2018-08-28 09:43:40 +02:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-05-09 19:43:22 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-19 09:33:49 +08:00
setup.py Updated from global requirements 2017-03-02 11:52:11 +00:00
tox.ini Merge "Fix doc8 failure" 2018-08-28 12:12:58 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:44:31 +00:00

Team and repository tags

image

OpenStack-Ansible Trove

Ansible role that installs and configures OpenStack Trove. Trove is installed behind the Apache webserver listening on port 8779 by default.

Documentation for the project can be found at: https://docs.openstack.org/openstack-ansible-os_trove/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/openstack-ansible-os_trove/

The project source code repository is located at: https://git.openstack.org/cgit/openstack/openstack-ansible-os_trove

The project home is at: https://launchpad.net/openstack-ansible

Required Variables

This list is not exhaustive at present. See role internals for further details.

# trove TCP listening port
trove_service_port: 8779

Example Playbook

- name: Install trove service
  hosts: trove_all
  user: root
  roles:
     - { role: "os_trove", tags: [ "os-trove" ] }
  vars:
    is_metal: "{{ properties.is_metal|default(false) }}"