diff --git a/roles/openshift_node/tasks/install.yml b/roles/openshift_node/tasks/install.yml index a64e762fc8e..58f894b238a 100644 --- a/roles/openshift_node/tasks/install.yml +++ b/roles/openshift_node/tasks/install.yml @@ -6,6 +6,19 @@ async: 3600 poll: 30 +# FIXME: Creation of these directories should not be required for crio 1.14.5 +- name: Create CNI dirs for crio + file: + path: "{{ item }}" + state: directory + owner: root + group: root + mode: 0755 + loop: + - /var/lib/cni/bin + - /etc/kubernetes/cni/net.d/ + - /opt/cni/bin/ + - name: Install openshift packages package: name: "{{ openshift_node_packages | join(',') }}"