Comments (5)
Hello @zaraquer,
You need to overwrite the value from defaults named galera_cluster_nodes_group
and use there the actual name of the group where the galera cluster should be installed.
My galera cluster override file is something along these lines:
---
galera_cluster_bind_interface: 'eth0' # make sure this interface exists in your servers
# yamllint disable-line rule:line-length
galera_cluster_name: 'clients_mariadb_gc_staging' # this name should be under 32 chars or galera cluster will not start
galera_cluster_nodes_group: 'clients_mariadb_galera_cluster' ## this is the most important one
mariadb_version: '10.6'
mariadb_mysql_root_password: "some-password"
from ansible-mariadb-galera-cluster.
Hi @eRadical !
Thanks for your comment!
I already named it after the group name in my inventory file.
Define the name of the cluster
galera_cluster_name: "galera-test"
Define Ansible group in which the nodes exist to be part of the cluster
galera_cluster_nodes_group: "mariadb"
Inventory file:
[mariadb]
mariadb1 ansible_host=xxx.xxx.xxx.51
mariadb2 ansible_host=xxx.xxx.xxx.52
mariadb3 ansible_host=xxx.xxx.xxx.53
[all:vars]
ansible_python_interpreter=/usr/bin/python3
from ansible-mariadb-galera-cluster.
@zaraquer - any progress on this?
Can you paste a file with ansible-playbook ran with "-vvvv" ?
from ansible-mariadb-galera-cluster.
Hi!
I figured out, there was a missing quote in the main.yml and needed to change some values. It seems it solved now.
from ansible-mariadb-galera-cluster.
Glad you sorted it out.
from ansible-mariadb-galera-cluster.
Related Issues (20)
- Ansible 7 - command/shell - remove deprecated warn module param
- Molecule tests are broken and need to be updated HOT 5
- Tasks setup_cluster | configuring settings for mariadb and galera failed on Debian fresh install HOT 1
- Task mariadb-galera-cluster : mysql_databases | create the databases failed on fresh install HOT 3
- [debian] `/etc/mysql/conf.d/overrides.cnf` Permissions Constantly Changing HOT 10
- Different interface naming on dedicated servers HOT 5
- Update `CONTRIBUTING.md` to contain steps to setup the environment HOT 1
- wsrep_cluster_address variable not correctly expanded in /etc/my.cnf.d/server.cnf HOT 2
- use community.mysql.mysql_user instead of mysql_user HOT 3
- error creating database database exists HOT 3
- new release ? HOT 1
- playbook fails if mariadb_mysql_root_password is set HOT 3
- python3 support for galeranotify.py HOT 2
- Support RHEL 8 HOT 2
- [arm support] repository settings for apt missing arm HOT 3
- Deprecation warning about "ipwrap" module
- query_cache_limit and query_cache_size are deprecated
- github actions broken HOT 7
- vars/centos-9.yml config file missing HOT 3
- Debian 12 Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-mariadb-galera-cluster.