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
This commit is contained in:
Curtis John 2021-12-14 17:33:31 -05:00
parent e88f3bb056
commit 4bcf3ea9c4
No known key found for this signature in database
GPG Key ID: 074FD4B4236B6865

View File

@ -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) }}"