roles/mariadb: Simplify sources.list

This commit is contained in:
Alan Orth 2020-07-14 09:51:35 +03:00
parent b366b0af3d
commit c9ea286fff
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

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