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:
parent
201165cff6
commit
96500a6e33
@ -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
|
||||
|
@ -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' %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user