2017-02-07 16:28:35 +01:00
|
|
|
---
|
|
|
|
- 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
|
2018-03-17 12:13:10 +01:00
|
|
|
apt_key: id=0x70BD6C50E82A9D99 url=https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc state=present
|
2017-02-07 16:28:35 +01:00
|
|
|
|
|
|
|
- name: Install tarsnap
|
2017-06-18 08:27:53 +02:00
|
|
|
apt: pkg=tarsnap update_cache=yes
|
2017-02-07 16:28:35 +01:00
|
|
|
|
2018-05-20 11:51:02 +02:00
|
|
|
- name: Copy tarsnaprc
|
|
|
|
copy: src=tarsnaprc dest=/root/.tarsnaprc owner=root group=root mode=0600
|
|
|
|
|
2017-02-07 16:28:35 +01:00
|
|
|
# vim: set sw=2 ts=2:
|