roles/mariadb: Use MariaDB 10.3

Also disables the fetching of i386 packages because the mirror does
not appear to have them anymore (and I wasn't using them anyways).
This commit is contained in:
Alan Orth 2018-07-29 16:23:24 +03:00
parent 5d9577bc2d
commit b47f66512d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
apt_key: id=0x177F4010FE56CA3336300305F1656F24C74CD1D8 url=https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x177F4010FE56CA3336300305F1656F24C74CD1D8
tags: mariadb, packages
- name: Add MariaDB 10.2 repo
- name: Add MariaDB 10.3 repo
template: src=mariadb.list.j2 dest=/etc/apt/sources.list.d/mariadb.list owner=root group=root mode=0644
tags: mariadb, packages

View File

@ -1,10 +1,10 @@
# {{ ansible_managed }}
{% if ansible_distribution == 'Ubuntu' %}
deb [arch=amd64,i386] http://mirror.23media.de/mariadb/repo/10.2/ubuntu {{ ansible_distribution_release }} main
deb [arch=amd64] http://mirror.23media.de/mariadb/repo/10.3/ubuntu {{ ansible_distribution_release }} main
{% elif ansible_distribution == 'Debian' %}
deb [arch=amd64,i386] http://mirror.23media.de/mariadb/repo/10.2/debian {{ ansible_distribution_release }} main
deb [arch=amd64] http://mirror.23media.de/mariadb/repo/10.3/debian {{ ansible_distribution_release }} main
{% endif %} {# ansible_distribution #}