ansible-personal/roles/common/tasks/tarsnap.yml
Alan Orth ffac0b8afd
roles/common: Update apt cache in tarsnap step
This fails on clean installs otherwise.
2017-06-18 09:27:53 +03:00

13 lines
412 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 update_cache=yes
# vim: set sw=2 ts=2: