Role galera_server for OpenStack-Ansible
Go to file
Jimmy McCrory 528bb2271c On single nodes use an empty cluster address
When there is only one galera node, configure galera with an empty
cluster address. Each time the mysql service starts on this node it will
automatically create a new cluster.

Closes-Bug: #1624327
Closes-Bug: #1595143
Change-Id: If653b1aacbd446a4ea5bb806a839dad40011b5b8
(cherry picked from commit 21885c1f37)
2016-11-07 19:27:09 +02:00
defaults On single nodes use an empty cluster address 2016-11-07 19:27:09 +02: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