roles/common: Use bionic tarsnap builds on Ubuntu 18.04

Tarsnap finally published builds for Ubuntu 18.04 "bionic" so we don't
need to use the 17.10 "artful" ones anymore.
This commit is contained in:
Alan Orth 2018-05-09 00:05:42 +03:00
parent 42fcd933a8
commit 1a9033dece
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,6 +1 @@
{% 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 https://pkg.tarsnap.com/deb/artful ./
{% else %}
deb https://pkg.tarsnap.com/deb/{{ ansible_distribution_release }} ./
{% endif %}
deb [arch=amd64] https://pkg.tarsnap.com/deb/{{ ansible_distribution_release }} ./