From 27083e1d5b6a3457e55e7177e08282b116f2b0dd Mon Sep 17 00:00:00 2001 From: Xan Manning Date: Sat, 6 Apr 2019 12:04:09 +0100 Subject: [PATCH] Bugfix: Checking of hash fixed for k3s v0.3.0 release --- tasks/download-k3s.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/download-k3s.yml b/tasks/download-k3s.yml index ac84c4e..a42b50b 100644 --- a/tasks/download-k3s.yml +++ b/tasks/download-k3s.yml @@ -19,7 +19,8 @@ - name: Ensure sha256sum is set from hashsum variable shell: > set -o pipefail && \ - echo "{{ k3s_hash_sum_raw.content }}" | grep 'k3s' | awk '{ print $1 }' + echo "{{ k3s_hash_sum_raw.content }}" | \ + grep -E ' k3s{{ k3s_arch_suffix }}$' | awk '{ print $1 }' changed_when: false args: executable: /bin/bash