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