diff --git a/tests/e2e/ansible/install_kubeadm.yaml b/tests/e2e/ansible/install_kubeadm.yaml index 22540a8b..e0e4975e 100644 --- a/tests/e2e/ansible/install_kubeadm.yaml +++ b/tests/e2e/ansible/install_kubeadm.yaml @@ -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 @@ -168,6 +167,9 @@ - kubeadm - kubectl - kubelet + - kube-log-runner + - kubectl-convert + - kube-proxy - name: Uninstall cni file: path: "{{ cni_home }}"