Dave Wilde 78d1bb6110 Templateize and change Galera SST method
Per the bug we need to be using xtrabackup-v2 for the wsrep_sst_method.  This
patch creates an galera_sst_method variable and defaults it to xtrabackup-v2.

Change-Id: Iee88b49e84e3a8aaf477af45b4a42a4a2c31634e
Closes-Bug: 1478105
(cherry picked from commit 6f170025e6f32b9a80bfd1efee627eea3d97f267)
2015-07-29 15:04:59 +00:00
..
2015-05-08 13:22:42 -05:00
2015-07-12 18:04:10 +01:00

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