2019-04-19 06:59:54 +00:00
|
|
|
---
|
2019-04-10 11:16:15 +00:00
|
|
|
- name: CNI | make sure /opt/cni/bin exists
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
|
|
|
mode: 0755
|
2020-04-16 17:06:45 +00:00
|
|
|
owner: kube
|
|
|
|
recurse: true
|
|
|
|
|
2019-04-10 11:16:15 +00:00
|
|
|
- name: CNI | Copy cni plugins
|
|
|
|
unarchive:
|
2019-06-14 09:42:23 +00:00
|
|
|
src: "{{ local_release_dir }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
|
2019-04-10 11:16:15 +00:00
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|