2016-12-07 16:41:53 +00:00
|
|
|
---
|
2017-03-15 11:00:42 +00: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 10:22:17 +00:00
|
|
|
|
|
|
|
- name: Canal | Copy cni plugins
|
|
|
|
unarchive:
|
2019-06-14 09:42:23 +00:00
|
|
|
src: "{{ local_release_dir }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
|
2018-12-03 10:22:17 +00:00
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|