Kube-router annotate.yml: Use group 'k8s-cluster' instead of 'all' (#5087) (#5088)

This commit is contained in:
Xiaodu 2019-08-19 19:53:29 +08:00 committed by Kubernetes Prow Robot
parent da015e0249
commit b0437516c1

View file

@ -18,4 +18,4 @@
with_items:
- "{{ kube_router_annotations_all }}"
delegate_to: "{{ groups['kube-master'][0] }}"
when: kube_router_annotations_all is defined and inventory_hostname in groups['all']
when: kube_router_annotations_all is defined and inventory_hostname in groups['k8s-cluster']