From 89f212f46a2d25b8307455cfb952e0353b765c07 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:44:14 -0500 Subject: [PATCH] file permission --- roles/lib/setup-restic.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index f8abaa4..47c5239 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -144,6 +144,8 @@ remote_src: yes - name: Make restic executable - command: chmod +x /usr/bin/restic - args: - creates: /usr/bin/restic \ No newline at end of file + ansible.builtin.file: + path: /usr/bin/restic + owner: root + group: root + mode: "0755" \ No newline at end of file