2018-10-16 14:15:05 +00:00
|
|
|
---
|
2018-10-21 07:35:52 +00:00
|
|
|
- name: kube-router | Create annotations
|
|
|
|
include: annotate.yml
|
|
|
|
tags: annotate
|
2018-10-16 14:15:05 +00:00
|
|
|
|
2018-12-03 10:22:17 +00:00
|
|
|
- name: kube-roter | Set cni directory permissions
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
|
|
|
owner: kube
|
|
|
|
recurse: true
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: kube-router | Copy cni plugins
|
|
|
|
unarchive:
|
|
|
|
src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
|
|
dest: "/opt/cni/bin"
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|
2018-10-16 14:15:05 +00:00
|
|
|
|
|
|
|
- name: kube-router | Create manifest
|
|
|
|
template:
|
|
|
|
src: kube-router.yml.j2
|
2018-12-03 10:22:17 +00:00
|
|
|
dest: "{{ kube_config_dir }}/kube-router.yml"
|