containerd: ensure containerd is really started and enabled

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

View file

@ -115,3 +115,14 @@
- include_role: - include_role:
name: container-engine/crictl 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