15 lines
337 B
YAML
15 lines
337 B
YAML
---
|
|
- name: CNI | make sure /opt/cni/bin exists
|
|
file:
|
|
path: /opt/cni/bin
|
|
state: directory
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- name: CNI | Copy cni plugins
|
|
unarchive:
|
|
src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
dest: "/opt/cni/bin"
|
|
mode: 0755
|
|
remote_src: yes
|