Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Minor fixes for installation and custom user handling #23

Merged
merged 1 commit into from
Jun 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@

- name: Decompress the binary
become: false
shell: "bzip2 -dc /tmp/restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.bz2 > /tmp/restic"
shell: "bzip2 -dc /tmp/restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.bz2 > /tmp/restic_{{ restic_version }}"
args:
creates: "/tmp/restic"
creates: "/tmp/restic_{{ restic_version }}"
delegate_to: localhost
run_once: true
check_mode: false

- name: Propagate restic binary
copy:
src: /tmp/restic
src: "/tmp/restic_{{ restic_version }}"
dest: '{{ restic_install_path }}/restic'
mode: '0750'
owner: 'root'
Expand Down