summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 09:13:21 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 09:13:21 -0500
commit54e1c19f25a492a66cfe79dc58d20cbf3487e626 (patch)
treea96849981457b73b7504fe967d192999eb611e7d /playbooks/common/openshift-master
parente73a14cae16da99b4c359638e3f46f7cd3ec6dd5 (diff)
parent2bfed1383e4d8eed1e0ab3e4c99eecacc5936047 (diff)
downloadopenshift-54e1c19f25a492a66cfe79dc58d20cbf3487e626.tar.gz
openshift-54e1c19f25a492a66cfe79dc58d20cbf3487e626.tar.bz2
openshift-54e1c19f25a492a66cfe79dc58d20cbf3487e626.tar.xz
openshift-54e1c19f25a492a66cfe79dc58d20cbf3487e626.zip
Merge pull request #985 from abutcher/ocConfig
Use admin.kubeconfig when obtaining kubernetes service ip
Diffstat (limited to 'playbooks/common/openshift-master')
-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 2be25b1e3..43e7836b3 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -357,7 +357,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: