From 39622077cdb1092cc9a24d03f37dc643ba61f339 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 2 Jul 2019 00:36:41 +0300 Subject: [PATCH] roles/common: Use Debian 9 tarsnap packages There are no tarsnap binaries for Debian 10 yet. --- 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 b1dc68b..e4a0b4e 100644 --- a/roles/common/templates/tarsnap_sources.list.j2 +++ b/roles/common/templates/tarsnap_sources.list.j2 @@ -1 +1,6 @@ +{% if ansible_distribution_release == 'buster' %} +# there are no tarsnap packages for Debian 10 "buster" yet, so use Debian 9's +deb [arch=amd64] https://pkg.tarsnap.com/deb/stretch ./ +{% else %} deb [arch=amd64] https://pkg.tarsnap.com/deb/{{ ansible_distribution_release }} ./ +{% endif %}