roles/mariadb: Allow MariaDB repo installation on Debian and Ubuntu

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-08-23 13:14:46 +03:00
parent c480075789
commit 9ad8209fd4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -4,7 +4,7 @@
tags: mariadb
- name: Add MariaDB 10.0 repo
apt_repository: repo="deb http://sgp1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu {{ ansible_distribution_release }} main" state=present
apt_repository: repo="deb http://sgp1.mirrors.digitalocean.com/mariadb/repo/10.0/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main" state=present
tags: mariadb
- name: Install mariadb-server