Fix Flannel provisioning

Flannel starts only on the first kube-master, so flannel subnet.env exists only on this node.
This commit is contained in:
Aleksander Morozov 2017-09-27 11:36:25 +03:00
parent b292a1ee0b
commit 6ca8689a17

View file

@ -20,3 +20,4 @@
path: /run/flannel/subnet.env
delay: 5
timeout: 600
when: inventory_hostname == groups['kube-master'][0]