2016-12-08 00:41:53 +08:00
|
|
|
---
|
2017-03-15 19:00:42 +08:00
|
|
|
- name: Cloud | Set cni directory permissions
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
|
|
|
owner: kube
|
|
|
|
recurse: true
|
|
|
|
mode: "u=rwX,g-rwx,o-rwx"
|
2018-12-03 18:22:17 +08:00
|
|
|
|
|
|
|
- name: Canal | Copy cni plugins
|
|
|
|
unarchive:
|
|
|
|
src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|