From 9abc8d42482db76a04373eb28c0086e146cbe749 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:30:53 -0500 Subject: [PATCH] removing unarchive function --- roles/lib/setup-restic.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index e59c562..70cde95 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -133,11 +133,9 @@ mode: '0755' - name: Extract restic bz2 file - unarchive: - src: "/tmp/restic.bz2" - dest: "/tmp" - remote_src: yes - extra_opts: ["--strip-components=1"] + ansible.builtin.command: + cmd: gunzip /tmp/restic.bz2 /tmp/restic + creates: /tmp/restic - name: Move restic to /usr/bin/ copy: