summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-25 13:22:52 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-25 13:57:59 -0500
commit2bfed1383e4d8eed1e0ab3e4c99eecacc5936047 (patch)
tree7ff6262ac0c683d49caf12eeb61ecd7c9cb04a60 /playbooks/common
parente3071fd15f70214fe9f13b847f2cc5443716d955 (diff)
downloadopenshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.gz
openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.bz2
openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.xz
openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.zip
Use admin.kubeconfig for get svc ip.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 902fde956..f8d90374e 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -355,7 +355,7 @@
hosts: oo_first_master
tasks:
- name: Get master service ip
- command: "{{ openshift.common.client_binary }} get -o template svc kubernetes --template=\\{\\{.spec.clusterIP\\}\\}"
+ command: "{{ openshift.common.client_binary }} -n default --config={{ openshift.common.config_base }}/master/admin.kubeconfig get -o template svc kubernetes --template=\\{\\{.spec.clusterIP\\}\\}"
register: master_service_ip_output
when: openshift.common.version_greater_than_3_1_or_1_1 | bool
- set_fact: