mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-03 13:12:10 +07:00
Minor changes on GTID
This commit is contained in:
@@ -40,5 +40,5 @@
|
|||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
register: slave_status
|
register: slave_status
|
||||||
|
|
||||||
- name: Configure MariaDB GTID
|
- name: Configure GTID
|
||||||
include: slave/mariadb_gtid.yml
|
include: slave/gtid.yml
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Need this hack before:
|
# Need this hack before:
|
||||||
# - https://github.com/ansible/ansible-modules-extras/issues/817
|
# - https://github.com/ansible/ansible/issues/29214
|
||||||
# - https://mariadb.com/kb/en/mariadb/global-transaction-id/#switching-an-existing-old-style-slave-to-use-gtid
|
# - https://mariadb.com/kb/en/mariadb/global-transaction-id/#switching-an-existing-old-style-slave-to-use-gtid
|
||||||
|
|
||||||
- name: MYSQL_REPLICATION | Stop slave
|
- name: MYSQL_REPLICATION | Stop slave
|
||||||
Reference in New Issue
Block a user