diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-11-25 13:22:52 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-11-25 13:57:59 -0500 |
commit | 2bfed1383e4d8eed1e0ab3e4c99eecacc5936047 (patch) | |
tree | 7ff6262ac0c683d49caf12eeb61ecd7c9cb04a60 | |
parent | e3071fd15f70214fe9f13b847f2cc5443716d955 (diff) | |
download | openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.gz openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.bz2 openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.tar.xz openshift-2bfed1383e4d8eed1e0ab3e4c99eecacc5936047.zip |
Use admin.kubeconfig for get svc ip.
-rw-r--r-- | playbooks/common/openshift-master/config.yml | 2 |
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: |