Skip to content

Commit

Permalink
unpack and copy kube binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
  • Loading branch information
mythi committed Sep 5, 2024
1 parent 107bda3 commit ebb1a25
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tests/e2e/ansible/install_kubeadm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,17 @@
dest: /tmp/kubernetes-node-linux.tar.gz
retries: 3
delay: 10
- name: Install kube binaries
- name: Unpack kube binaries
unarchive:
src: /tmp/kubernetes-node-linux.tar.gz
dest: /usr/local/bin
dest: /tmp/
remote_src: yes
- name: Copy kube binaries
ansible.builtin.copy:
src: /tmp/kubernetes/node/bin/
dest: /usr/local/bin/
remote_src: yes
extra_opts:
- --strip-components
- 3
#include:
# - kubeadm
# - kubectl
# - kubelet
mode: preserve
- name: Remove zram-generator-defaults in Fedora
ansible.builtin.yum:
name: zram-generator-defaults
Expand Down Expand Up @@ -168,6 +167,9 @@
- kubeadm
- kubectl
- kubelet
- kube-log-runner
- kubectl-convert
- kube-proxy
- name: Uninstall cni
file:
path: "{{ cni_home }}"
Expand Down

0 comments on commit ebb1a25

Please sign in to comment.