mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
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.
23 lines
514 B
YAML
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
|