roles/common: minor updates to tarsnap task
Use modern Ansible task format
This commit is contained in:
parent
51c95e5d4c
commit
b9e91c4a3d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user