Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#72 work #74

Merged
merged 4 commits into from
Nov 25, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Revert "rm that check task for now: only relevant for edge case, fix …
…standard usage"

This reverts commit d87847e.
  • Loading branch information
stefangweichinger committed Nov 25, 2020
commit ec62e1131af424135c2e70baf5ac11e8da77e053
7 changes: 7 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
file_type: directory
register: rclone_archive

- name: Validate the version in the archive matches the expected version ({{ rclone_version }})
fail:
msg: >
"The version of rclone ({{ rclone_archive.files[0].path | basename }}) in
the archive does not match the expected version ({{ rclone_version }})"
when: rclone_version not in rclone_archive.files[0].path

- name: Copy rclone binary
copy:
src: "{{ rclone_setup_tmp_dir }}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}/rclone"
Expand Down