![Jesse Pretorius](/assets/img/avatar_default.png)
There is no record for why we implement the database 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 a new variable called 'trove_db_setup_host' which is used in the role to allow delegation of the database setup task to any host, but defaults to the first member of the galera_all host group. We also document the variable 'trove_galera_address' which has been used for a long time, but never documented. A bunch of unused variables have also been removed. The extras folder is removed given that trove's playbooks have been merged into the integrated repository. Change-Id: I0bf801416bd0349534588fc7272dffd4b86b7bb9
Team and repository tags
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.
Example Playbook
- name: Install trove server
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
Languages
Jinja
49.9%
Python
36%
Shell
14.1%