Skip to content

Commit

Permalink
Merge pull request #1 from asosso/patch-1
Browse files Browse the repository at this point in the history
Remove run_once when download restic binary
  • Loading branch information
hadret authored Oct 23, 2019
2 parents ab4d44f + c725cf5 commit 6f28d5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
get_url:
url: "https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.bz2" # noqa 204
dest: "/tmp/restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.bz2" # noqa 204
run_once: true

- name: decompress restic binary
shell: "bzip2 -dc /tmp/restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.bz2 > /tmp/restic_{{ restic_version }}_{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}" # noqa 204
Expand Down

0 comments on commit 6f28d5c

Please sign in to comment.