Merge branch 'master' into mariadb_galera

pull/14/head
Emilien Mantel 2016-09-23 18:05:45 +02:00
commit deb2e1b811
5 changed files with 36 additions and 20 deletions

29
.travis.yml 100644
View File

@ -0,0 +1,29 @@
---
language: python
python: "2.7"
# Use the new container infrastructure
sudo: false
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i localhost, --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View File

@ -1,7 +1,7 @@
MySQL vendors for Debian Ansible role
======================================
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.mysql-blue.svg)](https://galaxy.ansible.com/HanXHX/mysql)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.mysql-blue.svg)](https://galaxy.ansible.com/HanXHX/mysql) [![Build Status](https://travis-ci.org/HanXHX/ansible-mysql.svg?branch=master)](https://travis-ci.org/HanXHX/ansible-mysql)
Install and configure MySQL or MariaDB or Percona Server. Manage replication (master/slave). Create users and databases.
@ -46,9 +46,9 @@ Check "priv" syntax in [mysql_user module documentation](http://docs.ansible.com
### Packaging
- `mariadb_version`: 10.0/10.1
- `mariadb_version`: 10.0 / 10.1 / 10.2
- `mariadb_repository`: MariaDB upstream APT repository (see: [MariaDB repositories tool](http://mariadb.org/mariadb/repositories/))
- `percona_version`: Percona version 5.5 or 5.6
- `percona_version`: 5.5 / 5.6 / 5.7
- `percona_repository`: Percona upstream APT repository (see: [Percona APT doc](http://www.percona.com/doc/percona-server/5.5/installation/apt_repo.html))
Dependencies

View File

@ -126,14 +126,14 @@ mysql_users: []
# -------------------------------------
# MariaDB
# -------------------------------------
mariadb_version: '10.0' # (5.5, 10.0)
mariadb_version: '10.1'
# See: http://mariadb.org/mariadb/repositories/
mariadb_repository: "http://ftp.igh.cnrs.fr/pub/mariadb/repo/{{ mariadb_version }}/debian"
# -------------------------------------
# Percona
# -------------------------------------
percona_version: '5.6'
percona_version: '5.7'
percona_repository: 'http://repo.percona.com/apt'

View File

@ -32,16 +32,12 @@ Supported platforms
Supported MySQL vendors
-----------------------
- MariaDB 10.0 (from Debian Jessie or MariaDB repository)
- MariaDB 10.0 / 10.1 / 10.2 (from Debian Jessie or MariaDB repository)
- MySQL 5.5 (from Debian repositories)
- Percona Server 5.6 (from Percona Repository)
- Percona Server 5.5 / 5.6 / 5.7 (from Percona Repository)
About MySQL 5.6
---------------
You can get MySQL 5.6 for Debian with [Dotdeb](https://www.dotdeb.org) with my [Dotdeb role](https://github.com/HanXHX/ansible-debian-dotdeb). I give no support with this version (pull-request accepted). It can work but without GTID.
About MariaDB 10.1
------------------
When the application is considered stable, I'll support this version.

View File

@ -1,9 +0,0 @@
---
default_mysql: true
mariadb_mariadb: true
percona_percona: true
percona_available_versions:
- '5.5'
- '5.6'