From d6c519cf05f61ef8b9610c682c67d90c87f438dc Mon Sep 17 00:00:00 2001 From: alecsandru Date: Fri, 3 May 2024 20:13:00 +0000 Subject: [PATCH] Update 'prepare_k8s.yml' --- prepare_k8s.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare_k8s.yml b/prepare_k8s.yml index 811ec8b..ad199a0 100644 --- a/prepare_k8s.yml +++ b/prepare_k8s.yml @@ -16,7 +16,7 @@ command: "{{ item }} chdir=/etc/" with_items: - mkdir /etc/containerd - - containerd config default > /etc/containerd/config.toml + - sudo containerd config default | tee /etc/containerd/config.toml - sudo sed -i 's/ SystemdCgroup = false/ SystemdCgroup = true/' /etc/containerd/config.toml - name: Install CNI Plugins command: "{{ item }} chdir=/tmp"