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

pull/5089/head
Xiaodu 2019-08-19 19:53:29 +08:00 committed by Kubernetes Prow Robot
parent da015e0249
commit b0437516c1
1 changed files with 1 additions and 1 deletions

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']