2019-04-19 14:59:54 +08:00
|
|
|
---
|
2019-04-10 19:16:15 +08:00
|
|
|
- name: CNI | make sure /opt/cni/bin exists
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
|
|
|
mode: 0755
|
2022-06-17 16:34:32 +08:00
|
|
|
owner: "{{ kube_owner }}"
|
2020-04-17 01:06:45 +08:00
|
|
|
recurse: true
|
|
|
|
|
2019-04-10 19:16:15 +08:00
|
|
|
- name: CNI | Copy cni plugins
|
|
|
|
unarchive:
|
2023-06-12 15:39:48 +08:00
|
|
|
src: "{{ downloads.cni.dest }}"
|
2019-04-10 19:16:15 +08:00
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
2023-09-04 17:29:49 +08:00
|
|
|
owner: "{{ kube_owner }}"
|
2019-04-10 19:16:15 +08:00
|
|
|
remote_src: yes
|