Support overriding cni directory owner (#10929)
parent
4a259ee3f0
commit
5d822ad8cb
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
cni_bin_owner: "{{ kube_owner }}"
|
|
@ -4,7 +4,7 @@
|
|||
path: /opt/cni/bin
|
||||
state: directory
|
||||
mode: 0755
|
||||
owner: "{{ kube_owner }}"
|
||||
owner: "{{ cni_bin_owner }}"
|
||||
recurse: true
|
||||
|
||||
- name: CNI | Copy cni plugins
|
||||
|
@ -12,5 +12,5 @@
|
|||
src: "{{ downloads.cni.dest }}"
|
||||
dest: "/opt/cni/bin"
|
||||
mode: 0755
|
||||
owner: "{{ kube_owner }}"
|
||||
owner: "{{ cni_bin_owner }}"
|
||||
remote_src: yes
|
||||
|
|
Loading…
Reference in New Issue