From 4bcf3ea9c427114aacc1d48d2f8903c6424e7595 Mon Sep 17 00:00:00 2001 From: Curtis John Date: Tue, 14 Dec 2021 17:33:31 -0500 Subject: [PATCH] fix(airgap): hotwire k3s version var to end of binary name this is to allow the role to proceed as if the binary was downloaded as expected from the web --- tasks/build/airgap-k3s.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/build/airgap-k3s.yml b/tasks/build/airgap-k3s.yml index d366e4e..e386b7e 100644 --- a/tasks/build/airgap-k3s.yml +++ b/tasks/build/airgap-k3s.yml @@ -9,6 +9,7 @@ - name: Ensure k3s binary is downloaded ansible.builtin.copy: src: k3s - dest: "{{ k3s_install_dir }}/k3s" + # TODO: allow airgap to bypass version post-fix + dest: "{{ k3s_install_dir }}/k3s-{{ k3s_release_version }}" mode: 0755 become: "{{ k3s_become_for_install_dir | ternary(true, false, k3s_become_for_all) }}"