Few improvements(#33)

* README update
* Remove useless legacy files
* Small refactoring for Galera Cluster
* Modern Ansible
* Some changes on travis + Vagrant
* Help debug: display all facts
* Fix galera config for docker
This commit is contained in:
Emilien M
2019-04-16 13:55:38 +02:00
committed by GitHub
parent 1ec3b388a0
commit 1ebc0e9391
20 changed files with 122 additions and 127 deletions

View File

@@ -1,17 +1,16 @@
---
- name: INCLUDE | Use Percona repository
include: 'percona/apt.yml'
- name: INCLUDE | Setup Percona repository
import_tasks: 'percona/apt.yml'
when: mariadb_use_percona_apt
- name: INCLUDE | Install MariaDB from Debian repo
include: 'mariadb/default.yml'
when: mariadb_origin == 'default' and mariadb_vendor == 'mariadb'
- name: INCLUDE | Install MariaDB from MariaDB repo
include: 'mariadb/upstream.yml'
- name: INCLUDE | Setup MariaDB repository
import_tasks: 'mariadb/upstream.yml'
when: mariadb_origin == 'upstream'
- name: INCLUDE | Install MariaDB
import_tasks: 'mariadb/default.yml'
- name: APT | Install few MariaDB related tools
apt:
pkg: "{{ mariadb_tools }}"

View File

@@ -28,4 +28,4 @@
- name: APT | Install Galera
apt:
pkg: galera-3
when: mariadb_vendor == 'mariadb_galera'
when: mariadb_use_galera

View File

@@ -19,6 +19,3 @@
apt_repository:
repo: 'deb-src {{ mariadb_repository }} {{ ansible_distribution_release }} main'
when: mariadb_upstream_apt_src
- name: INCLUDE | Normal Install
include: default.yml