2016-02-09 16:16:16 +00:00
|
|
|
---
|
2018-01-24 08:43:06 +00:00
|
|
|
|
2018-12-03 10:22:17 +00:00
|
|
|
- name: Weave | Set cni directory permissions
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
|
|
|
owner: kube
|
|
|
|
recurse: true
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: Weave | Copy cni plugins
|
|
|
|
unarchive:
|
|
|
|
src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|
2016-09-26 09:02:19 +00:00
|
|
|
|
2018-07-22 00:14:38 +00:00
|
|
|
- name: Weave | Create manifest
|
2016-02-09 16:16:16 +00:00
|
|
|
template:
|
2017-01-31 15:47:27 +00:00
|
|
|
src: weave-net.yml.j2
|
|
|
|
dest: "{{ kube_config_dir }}/weave-net.yml"
|
2018-07-22 00:14:38 +00:00
|
|
|
|
|
|
|
- name: Weave | Fix nodePort for Weave
|
|
|
|
template:
|
2018-11-15 07:38:51 +00:00
|
|
|
src: 10-weave.conflist.j2
|
|
|
|
dest: /etc/cni/net.d/10-weave.conflist
|