containerd: ensure containerd is really started and enabled
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
parent
a8e51e686e
commit
a5d2137ed9
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue