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:
Alan Orth 2016-08-22 16:00:45 +03:00
parent 201165cff6
commit 96500a6e33
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
---
- name: Add GPG key for MariaDB repo
apt_key: id=0xcbcb082a1bb943db url=http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xcbcb082a1bb943db
apt_key: id=0xF1656F24C74CD1D8 url=http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xF1656F24C74CD1D8
tags: mariadb, packages
- name: Remove old repo file

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' %}