Explicitly create cni bin dir
If this path doesnt exist, it will cause kubelet to fail to start when using rkt
This commit is contained in:
parent
e76ed88ea2
commit
0dc4967e43
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@
|
||||||
- include: pre_upgrade.yml
|
- include: pre_upgrade.yml
|
||||||
tags: kubelet
|
tags: kubelet
|
||||||
|
|
||||||
|
- name: Ensure /var/lib/cni exists
|
||||||
|
file:
|
||||||
|
path: /var/lib/cni
|
||||||
|
state: directory
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- include: install.yml
|
- include: install.yml
|
||||||
tags: kubelet
|
tags: kubelet
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue