From c3379ffe64251478053aad7e2f49ee24d9bd63b7 Mon Sep 17 00:00:00 2001 From: alecsandru Date: Fri, 3 May 2024 20:19:23 +0000 Subject: [PATCH] Update 'prepare_k8s.yml' --- prepare_k8s.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prepare_k8s.yml b/prepare_k8s.yml index 4b48e45..6bbfeb5 100644 --- a/prepare_k8s.yml +++ b/prepare_k8s.yml @@ -19,8 +19,8 @@ - name: Configure containerd command: "{{ item }} chdir=/etc/" with_items: - - sudo containerd config default | tee /etc/containerd/config.toml - - sudo sed -i 's/ SystemdCgroup = false/ SystemdCgroup = true/' /etc/containerd/config.toml + - containerd config default | tee /etc/containerd/config.toml + - sed -i 's/ SystemdCgroup = false/ SystemdCgroup = true/' /etc/containerd/config.toml - name: Install CNI Plugins command: "{{ item }} chdir=/tmp" with_items: