mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-24 10:13:30 +07:00
Drop MySQL, Percona Server and Jessie support
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
---
|
||||
|
||||
- name: MYSQL_VARIABLES | Get MySQL vendor
|
||||
mysql_variables: variable=version
|
||||
register: vc
|
||||
|
||||
- name: SET_FACT | Server can use GTID
|
||||
set_fact: mysql_gtid=true
|
||||
when: >
|
||||
( mysql_vendor == 'mariadb' and vc.msg | version_compare('10.0.2', 'ge') ) or
|
||||
( mysql_vendor in ['mysql', 'percona'] and vc.msg | version_compare('5.6.5', 'ge') )
|
||||
|
||||
- name: INCLUDE | Replication Master
|
||||
include: master.yml
|
||||
when: mysql_replication_master
|
||||
|
||||
@@ -38,7 +38,3 @@
|
||||
|
||||
- name: Configure MariaDB GTID
|
||||
include: slave/mariadb_gtid.yml
|
||||
when: >
|
||||
mysql_vendor == 'mariadb' and
|
||||
slave_status.Using_Gtid == 'No' and
|
||||
mysql_gtid
|
||||
|
||||
Reference in New Issue
Block a user