Skip to content

KornKalle/ansible-mariadb-galera-cluster

 
 

Repository files navigation

ansible-mariadb-galera-cluster

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).

Requirements

  • Ansible >= 2.7
  • python3-libselinux for CentOS / RHEL

Role Variables

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.

Example Playbook

Example playbook

License

MIT

Author Information

Nils Berg

  • nils.berg [at] helmholtz-berlin.de
  • n.berg [at] backslashseven.de

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 68.0%
  • Python 32.0%