Browse Source

containerd: ensure containerd is really started and enabled

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit a5d2137ed9)
pull/7221/head
Etienne Champetier 3 years ago
committed by Kubernetes Prow Robot
parent
commit
cf84a6bd3b
1 changed files with 11 additions and 0 deletions
  1. 11
      roles/container-engine/containerd/tasks/main.yml

11
roles/container-engine/containerd/tasks/main.yml

@ -115,3 +115,14 @@
- include_role:
name: container-engine/crictl
# you can sometimes end up in a state where everything is installed
# but containerd was not started / enabled
- name: flush handlers
meta: flush_handlers
- name: ensure containerd is started and enabled
service:
name: containerd
enabled: yes
state: started
Loading…
Cancel
Save