Files
kubespray/roles/kubernetes/node/tasks/install.yml
T
Max Gautier 1011c240b4 downloads: split file and containers (#13581)
Splits the definitions into two dicts, while joining then for now to
preserve the downloads dict.

Update all consumers of the variables, which are roughly:
- manual includes of the download role (which will be removed in the
  short future)
- install tasks using the resolved 'dest' to find the artefacts

This will make further division of the downloads role easier.
2026-10-13 09:58:21 +00:00

23 lines
514 B
YAML

---
- name: Install | Copy kubeadm binary from download dir
copy:
src: "{{ downloads_file.kubeadm.dest }}"
dest: "{{ bin_dir }}/kubeadm"
mode: "0755"
remote_src: true
tags:
- kubeadm
when:
- not ('kube_control_plane' in group_names)
- name: Install | Copy kubelet binary from download dir
copy:
src: "{{ downloads_file.kubelet.dest }}"
dest: "{{ bin_dir }}/kubelet"
mode: "0755"
remote_src: true
tags:
- kubelet
- upgrade
notify: Node | restart kubelet