ansible-personal/roles/mariadb/templates/mariadb.list.j2

16 lines
637 B
Plaintext
Raw Normal View History

# {{ ansible_managed }}
{% if ansible_distribution == 'Ubuntu' %}
{% if ansible_distribution_version is version_compare('18.04', '==') %}
# 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 %}
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.2/ubuntu {{ ansible_distribution_release }} main
{% endif %}
{% elif ansible_distribution == 'Debian' %}
deb [arch=amd64,i386] http://mariadb.mirror.serveriai.lt/repo/10.2/debian {{ ansible_distribution_release }} main
{% endif %} {# ansible_distribution #}