openstack-ansible/playbooks/roles/galera_server
Hugh Saunders 49cfbb20aa Fix gate: tempest and galera updates
Update tempest pin:
Tempest was installing v3 which is out of step with the other branches
and does not include the necessary patches required for networking tests
to work as we expect it to. This change installs a specific sha that is
newer than v3 and in line with the other branches. The master branch was
not selected to pin against as it's a moving target and disruptive to
our development process.

Pin tempest-lib:
This patch also pins tempest-lib to 0.2.1 as a later change in its
requirements was introduced which breaks the tempest installation.

Change galera package name:
The mariadb repository appears to have renamed the 'galera' package to
'galera-3'. This patch also handles that change.

These three changes have been combined as without them all together the
gate commit check will not pass.

Closes-Bug: #1430334
Closes-Bug: #1430771
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Change-Id: Icc8e34d0984c71e23c5cb261abe8814026cd3f7f
2015-03-11 14:45:14 +00:00
..
defaults Fix gate: tempest and galera updates 2015-03-11 14:45:14 +00:00
files Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Add fallback keyserver capability to galera apt-key tasks 2015-02-23 14:10:53 +00:00
templates Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

README.rst

OpenStack Galera Server

tags

openstack, galera, server, cloud, ansible

category

*nix

Role for the installation and installation of 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_wsrep_address: "10.0.0.1,10.0.0.2,10.0.0.3"
    galera_wsrep_node_name: "{{ ansible_hostname }}"
    galera_wsrep_cluster_address: "{{ container_address }}"
    galera_address: "{{ container_address }}"
    galera_root_password: secrete
    galera_root_user: root