An Ansible role to install/configure a MariaDB-Galera Cluster. Forked from https://github.com/mrlesmithjr/ansible-mariadb-galera-cluster.
This Role will install and configure a mariadb-cluster with all nodes in the group "galera-cluster" (The group name is overwritable).
- Ansible >= 2.7
- python3-libselinux for CentOS / RHEL
You will most likely need to override the interface on which MariaDB will listen on, as this name depends on your virtualization / hardware platform:
galera_cluster_bind_interface: "enp0s8"
The mariadb_bind_address will be calculated from the address of the interface you defined at the galera_cluster_bind_interface variable. You can also directly set a bind address when overriding the variable mariadb_bind_address:
mariadb_bind_address: 0.0.0.0
All Role variables are found at defaults/main.yml, you can override all of them, the default values will work in a clean environment.
MIT
Nils Berg
- nils.berg [at] helmholtz-berlin.de
- n.berg [at] backslashseven.de