Role galera_server for OpenStack-Ansible
Go to file
Andy McCrae bf3480a7ff Prevent galera_cluster_name from changing.
On a running galera cluster, we don't want to unintentionally allow a
galera_cluster_name from changing. This will cause a cluster to fail to
start (if the nodes are restarted sequentially) as the cluter name value
has changed.

To ensure we can still change this value, a new
"galera_force_change_cluster_name" variable is added, which can be set
to "True" in order to change the cluster name.

Change-Id: I8bae038bd207a15d5731b9c91b78df851a4c1986
(cherry picked from commit 8a9127efbc)
2016-09-14 13:49:12 +00:00
defaults Prevent galera_cluster_name from changing. 2016-09-14 13:49:12 +00:00
doc Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
files first commit 2015-12-09 09:23:50 -06:00
handlers Fix handlers 2016-04-14 10:10:32 +00:00
library Prevent galera_cluster_name from changing. 2016-09-14 13:49:12 +00:00
meta Updated role using the Multi-Distro framework 2016-03-21 22:57:11 -05:00
releasenotes Prevent galera_cluster_name from changing. 2016-09-14 13:49:12 +00:00
tasks Prevent galera_cluster_name from changing. 2016-09-14 13:49:12 +00:00
templates remove compact option from xtrabackup 2016-08-16 09:38:30 +00:00
tests Reorganize test playbooks 2016-06-18 09:56:11 -07:00
vars Updated role using the Multi-Distro framework 2016-03-21 22:57:11 -05:00
.gitignore Add reno scaffolding for release notes management 2016-04-15 17:09:21 +00:00
.gitreview Update .gitreview for stable/mitaka 2016-04-08 16:14:10 +00:00
CONTRIBUTING.rst Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
LICENSE first commit 2015-12-09 09:23:50 -06:00
README.rst Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 13:56:32 +00:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 13:56:32 +00:00
setup.cfg Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
setup.py first commit 2015-12-09 09:23:50 -06:00
test-requirements.txt Update tox configuration 2016-07-08 17:09:18 +01:00
tox.ini Update tox configuration 2016-07-08 17:09:18 +01:00

README.rst

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