ansible-personal/roles/common/templates/tarsnap_sources.list.j2
Alan Orth c5bebf0336 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".
2018-04-05 12:17:25 +03:00

7 lines
260 B
Django/Jinja

{% 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 %}