2019-10-04 12:49:19 +02:00
|
|
|
# Copyright: (c) 2019, Andrew Klychkov (@Andersson007) <aaklychkov@mail.ru>
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
2019-10-07 15:23:56 +02:00
|
|
|
# Initial CI tests of mysql_replication module:
|
2019-10-04 12:49:19 +02:00
|
|
|
- import_tasks: mysql_replication_initial.yml
|
2019-11-15 23:01:23 +01:00
|
|
|
when:
|
|
|
|
- ansible_facts.distribution == 'CentOS'
|
|
|
|
- ansible_facts.distribution_major_version is version('7', '==')
|
2019-10-07 15:23:56 +02:00
|
|
|
|
|
|
|
# Tests of master_delay parameter:
|
|
|
|
- import_tasks: mysql_replication_master_delay.yml
|
2019-11-15 23:01:23 +01:00
|
|
|
when:
|
|
|
|
- ansible_facts.distribution == 'CentOS'
|
|
|
|
- ansible_facts.distribution_major_version is version('7', '==')
|
2019-10-09 15:27:01 +02:00
|
|
|
|
|
|
|
# Tests of channel parameter:
|
|
|
|
- import_tasks: mysql_replication_channel.yml
|
2019-11-15 23:01:23 +01:00
|
|
|
when:
|
|
|
|
- ansible_facts.distribution == 'CentOS'
|
|
|
|
- ansible_facts.distribution_major_version is version('7', '==')
|
2019-10-10 13:02:57 +02:00
|
|
|
|
|
|
|
# Tests of resetmaster mode:
|
|
|
|
- import_tasks: mysql_replication_resetmaster_mode.yml
|
2019-11-15 23:01:23 +01:00
|
|
|
when:
|
|
|
|
- ansible_facts.distribution == 'CentOS'
|
|
|
|
- ansible_facts.distribution_major_version is version('7', '==')
|