c12s-kubespray/roles/network_plugin/cni/tasks/main.yml
2020-04-16 10:06:45 -07:00

15 lines
346 B
YAML

---
- name: CNI | make sure /opt/cni/bin exists
file:
path: /opt/cni/bin
state: directory
mode: 0755
owner: kube
recurse: true
- name: CNI | Copy cni plugins
unarchive:
src: "{{ local_release_dir }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
dest: "/opt/cni/bin"
mode: 0755
remote_src: yes