ansible-personal/roles/common/tasks/tarsnap.yml
Alan Orth d766c3dbbe
roles/common: Add tasks to install tarsnap
Now that Tarsnap has official packages this is one less thing that
needs to be manually installed from source after bringing a machine
up.

See: http://mail.tarsnap.com/tarsnap-announce/msg00037.html
2017-02-07 07:28:35 -08:00

13 lines
395 B
YAML

---
- name: Add Tarsnap apt mirror
template: src=tarsnap_sources.list.j2 dest=/etc/apt/sources.list.d/tarsnap.list owner=root group=root mode=0644
when: ansible_architecture != 'armv7l'
- name: Add GPG key for Tarsnap
apt_key: id=0x40B98B68F04DE775 url=https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc state=present
- name: Install tarsnap
apt: pkg=tarsnap
# vim: set sw=2 ts=2: