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: