[WIP] Remove Stretch and Percona support

This commit is contained in:
Emilien Mantel
2019-12-16 16:32:08 +01:00
parent ba8477d8ed
commit c338867c47
14 changed files with 24 additions and 108 deletions

View File

@@ -1,20 +1,19 @@
---
# Doc: https://www.percona.com/doc/percona-xtrabackup/2.1/howtos/recipes_ibkx_gtid.html
- name: WAIT_FOR | source data (prevent rsync bug) - TODO find another hack
wait_for:
host: "{{ mariadb_slave_import_from }}"
port: 22
- name: COMMAND | Prepare backup another server
command: innobackupex --no-timestamp {{ mariadb_backup_dir }}
command: mariabackup --backup {{ mariadb_backup_dir }}
args:
creates: "{{ mariadb_backup_dir }}"
delegate_to: "{{ mariadb_slave_import_from }}"
register: backup
- name: SHELL | Dump
shell: "innobackupex --apply-log {{ mariadb_backup_dir }}"
shell: "mariabackup --prepare {{ mariadb_backup_dir }}"
delegate_to: "{{ mariadb_slave_import_from }}"
when: backup.changed