1
0
Fork 0
mirror of https://github.com/ansible-collections/community.mysql.git synced 2026-02-04 07:11:49 +00:00

adding missing mysql group_replication module

This commit is contained in:
Sebastian Pfahl 2025-07-15 08:09:13 +02:00
parent 1439274e15
commit 781bf601e7

View file

@ -38,7 +38,8 @@
# Configure group replication settings
- name: Configure group replication settings for MySQL
shell:
"echo \"SET GLOBAL group_replication_group_name='{{ group_replication_group_name }}'; \
"echo \"INSTALL PLUGIN group_replication SONAME 'group_replication.so'; \
SET GLOBAL group_replication_group_name='{{ group_replication_group_name }}'; \
SET GLOBAL group_replication_local_address='{{ mysql_host }}:{{ group_replication_port }}'; \
SET GLOBAL group_replication_group_seeds='{{ mysql_host }}:{{ group_replication_port }}'; \
SET GLOBAL group_replication_bootstrap_group=ON;\" | {{ mysql_command }}"