From 9ad8209fd4ed8997d3692221d761f2f440b23cd1 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 23 Aug 2015 13:14:46 +0300 Subject: [PATCH] roles/mariadb: Allow MariaDB repo installation on Debian and Ubuntu Signed-off-by: Alan Orth --- roles/mariadb/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml index ab91388..817185b 100644 --- a/roles/mariadb/tasks/main.yml +++ b/roles/mariadb/tasks/main.yml @@ -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