Kevin Carter 19a174be95
Fix issue with system installed xtrabackup
The change adds a task to ensure that the system provided
xtrabackup package is removed before installing the downloaded
version using the deb. This is required to ensure that there
are no version conflicts when installing the package.

The change also corrects the version of the galera server repo
in the defaults directory. While the repo correct version of
mariadb is being installed the name of the assumed repo is wrong.

Closes-Bug: #1513459

Change-Id: I63cb546cf5a4386320f01ed6f2120dd7c8341335
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-05 07:08:57 -06:00
..
2015-05-08 13:22:42 -05: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