From c5bebf033687737bb7c21ffc87add4f639fabdbe Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 17 Mar 2018 13:25:15 +0200 Subject: [PATCH] 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". --- roles/common/templates/tarsnap_sources.list.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/common/templates/tarsnap_sources.list.j2 b/roles/common/templates/tarsnap_sources.list.j2 index 8b75812..824dbc8 100644 --- a/roles/common/templates/tarsnap_sources.list.j2 +++ b/roles/common/templates/tarsnap_sources.list.j2 @@ -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 %}