Update 'prepare_k8s.yml'

master
alecsandru 9 months ago
parent 4d97476c85
commit c3379ffe64
  1. 4
      prepare_k8s.yml

@ -19,8 +19,8 @@
- name: Configure containerd - name: Configure containerd
command: "{{ item }} chdir=/etc/" command: "{{ item }} chdir=/etc/"
with_items: with_items:
- sudo containerd config default | tee /etc/containerd/config.toml - containerd config default | tee /etc/containerd/config.toml
- sudo sed -i 's/ SystemdCgroup = false/ SystemdCgroup = true/' /etc/containerd/config.toml - sed -i 's/ SystemdCgroup = false/ SystemdCgroup = true/' /etc/containerd/config.toml
- name: Install CNI Plugins - name: Install CNI Plugins
command: "{{ item }} chdir=/tmp" command: "{{ item }} chdir=/tmp"
with_items: with_items:

Loading…
Cancel
Save