ansible-mariadb-galera-cluster icon indicating copy to clipboard operation
ansible-mariadb-galera-cluster copied to clipboard

Documentation for setting variables

Open perpi opened this issue 2 years ago • 2 comments

There's no guide for customizing variables per our environment. For example, I got an error for the interface, and then I understood that I should go to main.yml to replace the interface name (eth0) with mine (which is ens160 by default in Ubuntu).

May you document the required variables to be replaced? Thanks

perpi avatar Oct 04 '22 09:10 perpi

I'll try to set some time aside to pipmp up the [README.md].

eRadical avatar Oct 05 '22 07:10 eRadical

I also would welcome a nice example for a config or an inventory with vars inside.

I see the same error right now with this inventory file:

[galera_cluster_nodes]
mariadb-main-1-1    ansible_host=172.32.99.111 ansible_user=vagrant
mariadb-main-1-2    ansible_host=172.32.99.112 ansible_user=vagrant
mariadb-main-1-3    ansible_host=172.32.99.113 ansible_user=vagrant

[galera_cluster_nodes:vars]
galera_cluster_bind_interface=enp0s3
galera_cluster_nodes_group='galera_cluster_nodes'

Fiddling with quotes etc, it worked yesterday ... / great work btw, thanks

stefangweichinger avatar Oct 11 '22 08:10 stefangweichinger

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 11 '22 02:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 10 '23 04:02 stale[bot]