mirror of
https://github.com/khuedoan/homelab.git
synced 2025-03-10 04:47:09 +07:00
perf(metal): cache k3s binary on the controller
This commit is contained in:
parent
d808ae96dd
commit
33219fd533
@ -2,6 +2,14 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s
|
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s
|
||||||
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-amd64.txt
|
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-amd64.txt
|
||||||
|
dest: "{{ role_path }}/files/bin/k3s"
|
||||||
|
delegate_to: localhost
|
||||||
|
run_once: true
|
||||||
|
register: k3s_binary
|
||||||
|
|
||||||
|
- name: Copy k3s binary to nodes
|
||||||
|
copy:
|
||||||
|
src: bin/k3s
|
||||||
dest: /usr/local/bin/k3s
|
dest: /usr/local/bin/k3s
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
Loading…
Reference in New Issue
Block a user