git-harry 72a1dfb4d7 Use var galera_cluster_members to identify cluster
Create a new variable called galera_cluster_members which is a list of
the hosts that make up the galera cluster. Set the default value to
groups['galera_all'] which is the group used by openstack-ansible to
refer to the members of the cluster. Replace all other references to
groups['galera_all'] with the new variable. This allows other consumers
of this role to use their own group naming scheme.

Add a new task to verify that current host is a member of
galera_cluster_members.

Add the var galera_client_drop_config_file=true to the role dependency
galera_client, this is required because the default value for that var
in the galera_client role is based on membership of the galera_all
group.

Modify the functional testing to override galera_cluster_members, this
aims to prevent the return of any hard-coded role references.

Change-Id: I59af07217114a001cbebaa95a651919d53c9ec21
2016-03-17 09:30:36 +00:00
2015-12-09 09:23:50 -06:00
2015-12-14 15:20:02 +00:00
2015-12-14 15:20:02 +00:00
2015-12-09 09:23:50 -06:00
2015-12-09 09:23:50 -06:00
2015-12-09 09:23:50 -06:00

OpenStack-Ansible Galera Server

tags

openstack, galera, server, cloud, ansible

category

*nix

Ansible role to install and configure a Galera cluster powered by MariaDB

- name: Install galera server
  hosts: galera_all
  user: root
  roles:
    - { role: "galera_server", tags: [ "galera-server" ] }
  vars:
    container_address: "{{ ansible_ssh_host }}"
    galera_root_password: secrete
    galera_root_user: root
Description
Role galera_server for OpenStack-Ansible
Readme 8.9 MiB
Languages
Jinja 76%
Python 24%