openstack-ansible/playbooks/roles/galera_server
Kevin Carter fa539a4ac8 adds the config_template to galera_server
The change modifies the galera_server template tasks such that it's now
using the config_template action plugin. This change will make so that
config files can be dynamically updated, by a deployer, at run time,
without requiring the need to modify the in tree templates or defaults.

Partially implements: blueprint tunable-openstack-configuration

Change-Id: I6f34dff6e3a8ab8d2aad6a413b9a59f325c1be7b
2015-09-21 11:15:12 +00:00
..
defaults adds the config_template to galera_server 2015-09-21 11:15:12 +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 adds the config_template to galera_server 2015-09-21 11:15:12 +00: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