Jesse Pretorius f2c6b96076 Move MQ vhost/user creation into role
There is no record for why we implement the MQ vhost/user creation
outside of the role in the playbook, when we could do it inside the
role.

Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.

In this patch we implement two new variables:
- trove_oslomsg_rpc_setup_host
- trove_oslomsg_notify_setup_host

These are used in the role to allow delegation of the MQ vhost/user
setup for each type to any host, but they default to using the first
member of the applicable oslomsg host group.

We also adjust some of the defaults to automatically inherit existing
vars set in group_vars form the integrated build so that we do not
need to do the wiring in the integrated build's group vars. We still
default them in the role too for independent role usage.

Change-Id: I88514f00c4b4c0452b573d765bb895cb562f952e
2018-07-17 22:10:22 +01:00
2018-07-12 17:02:29 +02:00
2018-06-29 14:21:10 +01:00
2016-08-25 14:56:41 +02:00
2017-03-02 11:52:11 +00:00

Team and repository tags

image

OpenStack-Ansible Trove (DBaaS)

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

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) }}"

OpenStack-Ansible Trove

Ansible role that installs and configures OpenStack Trove.

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

Description
Role os_trove for OpenStack-Ansible
Readme 3.6 MiB
Languages
Jinja 49.9%
Python 36%
Shell 14.1%