2015-10-04 04:19:50 +08:00
|
|
|
---
|
2017-08-25 15:07:50 +08:00
|
|
|
- include: pre-upgrade.yml
|
2016-05-09 12:42:42 +08:00
|
|
|
|
2017-08-25 15:07:50 +08:00
|
|
|
- name: Flannel | Create cni-flannel-rbac manifest
|
|
|
|
template:
|
|
|
|
src: cni-flannel-rbac.yml.j2
|
|
|
|
dest: "{{ kube_config_dir }}/cni-flannel-rbac.yml"
|
|
|
|
register: flannel_rbac_manifest
|
|
|
|
when: inventory_hostname == groups['kube-master'][0] and rbac_enabled
|
2016-12-22 02:06:12 +08:00
|
|
|
|
2017-08-25 15:07:50 +08:00
|
|
|
- name: Flannel | Create cni-flannel manifest
|
2016-08-31 00:17:41 +08:00
|
|
|
template:
|
2017-08-25 15:07:50 +08:00
|
|
|
src: cni-flannel.yml.j2
|
|
|
|
dest: "{{ kube_config_dir }}/cni-flannel.yml"
|
|
|
|
register: flannel_manifest
|
|
|
|
when: inventory_hostname == groups['kube-master'][0]
|