roles/common: Use Debian 9 tarsnap packages

There are no tarsnap binaries for Debian 10 yet.
This commit is contained in:
Alan Orth 2019-07-02 00:36:41 +03:00
parent b79001f97a
commit 39622077cd
1 changed files with 5 additions and 0 deletions

View File

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