@ -75,17 +75,17 @@
|
|||||||
url: "https://github.com/k3s-io/k3s/releases/download/v{{ KubernetesVersion + KubernetesVersion_k3s_prefix | urlencode }}/k3s"
|
url: "https://github.com/k3s-io/k3s/releases/download/v{{ KubernetesVersion + KubernetesVersion_k3s_prefix | urlencode }}/k3s"
|
||||||
|
|
||||||
|
|
||||||
# - name: "[TRACE] Downloaded File SHA256"
|
- name: "[TRACE] Downloaded File SHA256"
|
||||||
# ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
# hash_sha256_k3s_downloaded_binary: "{{ lookup('ansible.builtin.file', '/tmp/k3s') | hash('sha256') | string }}"
|
hash_sha256_k3s_downloaded_binary: "{{ lookup('ansible.builtin.file', '/tmp/k3s') | hash('sha256') | string }}"
|
||||||
# delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
|
|
||||||
# - name: Existing k3s File hash
|
- name: Existing k3s File hash
|
||||||
# ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
# checksum_algorithm: sha256
|
checksum_algorithm: sha256
|
||||||
# name: /usr/local/bin/k3s
|
name: /usr/local/bin/k3s
|
||||||
# register: hash_sha256_k3s_existing_binary
|
register: hash_sha256_k3s_existing_binary
|
||||||
|
|
||||||
|
|
||||||
- name: Copy K3s binary to Host
|
- name: Copy K3s binary to Host
|
||||||
|
|||||||
Reference in New Issue
Block a user