Skip to content

Commit

Permalink
generate flannel manifest only on first master (#5983)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckySB authored Apr 20, 2020
1 parent 826a440 commit 6e29a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/network_plugin/flannel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- {name: kube-flannel, file: cni-flannel.yml, type: ds}
register: flannel_node_manifests
when:
- inventory_hostname in groups['kube-master']
- inventory_hostname == groups['kube-master'][0]

0 comments on commit 6e29a47

Please sign in to comment.