roles/mariadb: Use Ubuntu 16.04 (xenial) builds

When I originally deployed Ubuntu 16.04 there were no public xenial
MariaDB builds yet, so I used wily (15.10). Now there are official
xenial builds so we can use them instead.
This commit is contained in:
2016-08-22 16:00:45 +03:00
parent 201165cff6
commit 96500a6e33
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
# {{ ansible_managed }}
{% if ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04' %}
{% if ansible_distribution == 'Ubuntu' %}
# there are no xenial builds yet, so use wily
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.1/ubuntu wily main
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.1/ubuntu {{ ansible_distribution_release }} main
{% elif ansible_distribution == 'Debian' %}