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:
parent
b80f612d29
commit
cf84a6bd3b
1 changed files with 11 additions and 0 deletions
|
@ -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…
Reference in a new issue