ansible-role-mariadb icon indicating copy to clipboard operation
ansible-role-mariadb copied to clipboard

Feature - galera support

Open fpkmatthi opened this issue 5 years ago • 3 comments
trafficstars

This feature allows to configure mariadb for a Galera cluster. The changes include one host specific variable to determine the role of the node in the cluster and some minor changes to the already existing code to configure and start mariadb.

Variable Value Description
is_bootstrap_node true The current node is used to bootstrap the cluster.
is_bootstrap_node false The current node join the cluster.

fpkmatthi avatar Feb 10 '20 22:02 fpkmatthi

The Travis CI build fails, after applying the role, the database server does not seem to be available to external users. Can you check this?

Also, I have a few requests w.r.t. coding style.

  • all role variables should be preceded with mariadb_ to avoid name collisions with other roles.
  • each task should also have tags: mariadb added (see the code for other examples)

Thank you for contributing this feature!

bertvv avatar Jun 17 '20 17:06 bertvv

Since I deleted my old fork while cleaning my repos and did some major changes on this feature, would it be alright if I opened a new pull-request?

fpkmatthi avatar Jun 18 '20 14:06 fpkmatthi

Of course! Thanks you for contributing!

bertvv avatar Jun 19 '20 06:06 bertvv