2016-06-27 17:09:04 +02:00
|
|
|
# {{ ansible_managed }}
|
2016-08-22 15:00:45 +02:00
|
|
|
{% if ansible_distribution == 'Ubuntu' %}
|
2016-04-15 10:40:32 +02:00
|
|
|
|
2018-03-17 12:41:16 +01:00
|
|
|
{% if ansible_distribution_release == 'bionic' %}
|
|
|
|
# 2018-03-17: no Ubuntu 18.04 "bionic" packages yet, so use 17.10 "artful"
|
|
|
|
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.2/ubuntu artful main
|
|
|
|
{% else %}
|
2017-09-26 14:15:27 +02:00
|
|
|
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.2/ubuntu {{ ansible_distribution_release }} main
|
2018-03-17 12:41:16 +01:00
|
|
|
{% endif %}
|
2016-04-15 10:40:32 +02:00
|
|
|
|
|
|
|
{% elif ansible_distribution == 'Debian' %}
|
|
|
|
|
2017-09-26 14:15:27 +02:00
|
|
|
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.2/debian {{ ansible_distribution_release }} main
|
2016-04-15 10:40:32 +02:00
|
|
|
|
|
|
|
{% endif %} {# ansible_distribution #}
|