mirror of
https://github.com/khuedoan/homelab.git
synced 2025-03-09 20:30:04 +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:
|
||||
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
|
||||
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
|
||||
owner: root
|
||||
group: root
|
||||
|
Loading…
Reference in New Issue
Block a user