diff --git a/prepare_k8s.yml b/prepare_k8s.yml index 6a7a8e3..3b6bed6 100644 --- a/prepare_k8s.yml +++ b/prepare_k8s.yml @@ -61,7 +61,8 @@ - name: Crictl setup copy: dest: /etc/crictl.yaml - content: | + content: {{ item }} + with_items: "runtime-endpoint: unix:///run/containerd/containerd.sock" "image-endpoint: unix:///run/containerd/containerd.sock" "timeout: 2"