openstack-ansible/playbooks/roles/galera_server
2015-08-22 01:59:26 +00:00
..
defaults Templateize and change Galera SST method 2015-07-29 15:04:59 +00:00
files Merge "Implement /usr/bin/env as the shebang in all bash scripts" 2015-08-22 01:59:26 +00:00
handlers Restart mysql when config changed 2015-07-12 18:04:10 +01:00
meta added role to pin packages 2015-05-08 13:22:42 -05:00
tasks Restart mysql when config changed 2015-07-12 18:04:10 +01:00
templates Enable log_slave_updates 2015-08-19 07:51:39 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00: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