mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-24 10:13:30 +07:00
Stretch support
- Support Debian Stretch (MariaDB debian/upstream + Galera) - Doc updated - New travis tests (with Vagrant) - Drop support of mysql_innodb_additional_mem_pool_size - Xtrabackup optionnal installation + package name updatable - Fix many issues with replication (Ansible 2.3) - Auto-retreive master IP address on tests - MySQL tools per OS release
This commit is contained in:
@@ -35,9 +35,8 @@
|
||||
|
||||
- name: APT | Install few MySQL related tools
|
||||
apt: pkg={{ item }} state=present install_recommends=no
|
||||
with_items:
|
||||
- mytop
|
||||
- percona-toolkit
|
||||
- percona-xtrabackup
|
||||
- python-mysqldb
|
||||
- mysqltuner
|
||||
with_items: "{{ mysql_tools }}"
|
||||
|
||||
- name: APT | Install percona-xtrabackup if needed
|
||||
apt: pkg={{ mysql_xtrabackup_package }}
|
||||
when: mysql_install_xtrabackup_package
|
||||
|
||||
@@ -19,4 +19,3 @@
|
||||
- name: APT | Install Galera
|
||||
apt: pkg=galera-3 state=present
|
||||
when: mysql_vendor == 'mariadb_galera'
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
---
|
||||
|
||||
- name: APT | Install MariaDB key
|
||||
apt_key: keyserver="keyserver.ubuntu.com" id="0xcbcb082a1bb943db" state=present
|
||||
apt_key: keyserver="keyserver.ubuntu.com" id={{ item }} state=present
|
||||
with_items: ['0xcbcb082a1bb943db', '0xf1656f24c74cd1d8']
|
||||
|
||||
- name: APT | Add MariaDB repository
|
||||
apt_repository: repo='deb {{ mysql_mariadb_repository }} {{ ansible_distribution_release }} main' state=present
|
||||
@@ -12,4 +13,3 @@
|
||||
|
||||
- name: INCLUDE | Normal Install
|
||||
include: default.yml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user