ansible-personal/roles/common/templates/tarsnap_sources.list.j2
Alan Orth 39622077cd roles/common: Use Debian 9 tarsnap packages
There are no tarsnap binaries for Debian 10 yet.
2019-07-06 21:16:19 +03:00

7 lines
290 B
Django/Jinja

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