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"