generate flannel manifest only on first master (#5983)
This commit is contained in:
parent
826a440fa6
commit
6e29a47784
1 changed files with 1 additions and 1 deletions
|
@ -8,4 +8,4 @@
|
||||||
- {name: kube-flannel, file: cni-flannel.yml, type: ds}
|
- {name: kube-flannel, file: cni-flannel.yml, type: ds}
|
||||||
register: flannel_node_manifests
|
register: flannel_node_manifests
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['kube-master']
|
- inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
Loading…
Reference in a new issue