Steve Lewis 2d4f9c750f Improve Galera running, stop, bootstrap behavior
Adds a check to see if Galera is running.
Improves check of cluster size to only test when Galera is running.
Improves Stop operation to consume new check.
Improves Bootstrap operation to consume new check.

Co-Authored-By: Kevin Carter <kevin.carter@rackspace.com>
Change-Id: I44f5ff5a7240f3583628fca4d039234f9e34ddf7
Closes-Bug: 1438368
2015-03-30 14:25:56 -07: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