containerd: ensure containerd is really started and enabled

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit a5d2137ed9)
This commit is contained in:
Etienne Champetier 2021-01-09 17:21:10 -05:00 committed by Kubernetes Prow Robot
parent b80f612d29
commit cf84a6bd3b

View file

@ -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