roles/common: minor updates to tarsnap task

Use modern Ansible task format
This commit is contained in:
Alan Orth 2023-08-23 21:20:22 +03:00
parent 51c95e5d4c
commit b9e91c4a3d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -32,9 +32,16 @@
add_tarsnap_apt_repository is changed
- name: Install tarsnap
ansible.builtin.apt: pkg=tarsnap cache_valid_time=3600
ansible.builtin.apt:
pkg: tarsnap
cache_valid_time: 3600
- name: Copy tarsnaprc
ansible.builtin.copy: src=tarsnaprc dest=/root/.tarsnaprc owner=root group=root mode=0600
ansible.builtin.copy:
src: tarsnaprc
dest: /root/.tarsnaprc
owner: root
group: root
mode: 0600
# vim: set sw=2 ts=2: