roles/common: Use Ubuntu 17.10's tarsnap packages on Ubuntu 18.04

There are no tarsnap packages for Ubuntu 18.04 "bionic" yet so we
should use Ubuntu 17.10 "artful".
This commit is contained in:
Alan Orth 2018-03-17 13:25:15 +02:00
parent 10668ed706
commit c5bebf0336
1 changed files with 5 additions and 0 deletions

View File

@ -1 +1,6 @@
{% if ansible_distribution_release == 'bionic' %}
# 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 %}