mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-29 12:55:51 +01:00
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:
parent
e88f3bb056
commit
4bcf3ea9c4
@ -9,6 +9,7 @@
|
|||||||
- name: Ensure k3s binary is downloaded
|
- name: Ensure k3s binary is downloaded
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: k3s
|
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
|
mode: 0755
|
||||||
become: "{{ k3s_become_for_install_dir | ternary(true, false, k3s_become_for_all) }}"
|
become: "{{ k3s_become_for_install_dir | ternary(true, false, k3s_become_for_all) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user