diff --git a/prepare_k8s.yml b/prepare_k8s.yml index a6b318a..a5a2e97 100644 --- a/prepare_k8s.yml +++ b/prepare_k8s.yml @@ -54,5 +54,7 @@ - name: Install CriCtl command: "{{ item }} chdir=/tmp" with_items: - - "curl -L 'https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.30.0/crictl-v1.30.0-linux-arm64.tar.gz' | sudo tar -C /usr/local/bin -xz" + - "wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.30.0/crictl-v1.30.0-linux-arm64.tar.gz" + - "tar Cxzvf /usr/local/bin crictl-v1.30.0-linux-arm64.tar.gz" + - "rm crictl-v1.30.0-linux-arm64.tar.gz" - "echo https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/" \ No newline at end of file