2015-10-03 20:19:50 +00:00
|
|
|
---
|
2017-08-25 07:07:50 +00:00
|
|
|
- include: pre-upgrade.yml
|
2016-05-09 04:42:42 +00:00
|
|
|
|
2017-08-25 07:07:50 +00: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-21 18:06:12 +00:00
|
|
|
|
2017-08-25 07:07:50 +00:00
|
|
|
- name: Flannel | Create cni-flannel manifest
|
2016-08-30 16:17:41 +00:00
|
|
|
template:
|
2017-08-25 07:07:50 +00:00
|
|
|
src: cni-flannel.yml.j2
|
|
|
|
dest: "{{ kube_config_dir }}/cni-flannel.yml"
|
|
|
|
register: flannel_manifest
|
|
|
|
when: inventory_hostname == groups['kube-master'][0]
|