From b9e91c4a3d3d18d9893a1438bd58f5603f8495dd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 23 Aug 2023 21:20:22 +0300 Subject: [PATCH] roles/common: minor updates to tarsnap task Use modern Ansible task format --- roles/common/tasks/tarsnap.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/common/tasks/tarsnap.yml b/roles/common/tasks/tarsnap.yml index 3774376..17db519 100644 --- a/roles/common/tasks/tarsnap.yml +++ b/roles/common/tasks/tarsnap.yml @@ -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: