kubespray/roles/network_plugin/cni/tasks/main.yml

17 lines
344 B
YAML
Raw Normal View History

2019-04-19 14:59:54 +08:00
---
- name: CNI | make sure /opt/cni/bin exists
file:
path: /opt/cni/bin
state: directory
mode: "0755"
owner: "{{ cni_bin_owner }}"
2020-04-17 01:06:45 +08:00
recurse: true
- name: CNI | Copy cni plugins
unarchive:
src: "{{ downloads.cni.dest }}"
dest: "/opt/cni/bin"
mode: "0755"
owner: "{{ cni_bin_owner }}"
remote_src: yes