diff --git a/roles/container-engine/gvisor/molecule/default/prepare.yml b/roles/container-engine/gvisor/molecule/default/prepare.yml index e5a7e773c5b..8f9ef7ddfbc 100644 --- a/roles/container-engine/gvisor/molecule/default/prepare.yml +++ b/roles/container-engine/gvisor/molecule/default/prepare.yml @@ -36,7 +36,7 @@ file: path: /etc/cni/net.d state: directory - owner: kube + owner: root mode: 0755 - name: Setup CNI copy: diff --git a/roles/network_plugin/calico/tasks/install.yml b/roles/network_plugin/calico/tasks/install.yml index 75a9e5eefa4..cac20ea5e2d 100644 --- a/roles/network_plugin/calico/tasks/install.yml +++ b/roles/network_plugin/calico/tasks/install.yml @@ -20,7 +20,7 @@ template: src: "cni-calico.conflist.j2" dest: "/etc/cni/net.d/calico.conflist.template" - owner: kube + owner: root register: calico_conflist notify: reset_calico_cni