diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-12-01 11:44:13 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-12-01 11:47:50 -0500 |
commit | 6a71953ec28a358223a96444ea6ba5b2139becde (patch) | |
tree | 8d958de591f41f99d8e725aa5c5a3dafca5cf661 /playbooks/common/openshift-master/config.yml | |
parent | ebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff) | |
download | openshift-6a71953ec28a358223a96444ea6ba5b2139becde.tar.gz openshift-6a71953ec28a358223a96444ea6ba5b2139becde.tar.bz2 openshift-6a71953ec28a358223a96444ea6ba5b2139becde.tar.xz openshift-6a71953ec28a358223a96444ea6ba5b2139becde.zip |
Fix kubernetes service ip gathering.
Diffstat (limited to 'playbooks/common/openshift-master/config.yml')
-rw-r--r-- | playbooks/common/openshift-master/config.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml index f382494bd..1c8a92122 100644 --- a/playbooks/common/openshift-master/config.yml +++ b/playbooks/common/openshift-master/config.yml @@ -358,11 +358,8 @@ hosts: oo_first_master tasks: - name: Get master service ip - command: > - {{ openshift.common.client_binary }} -n default - --config={{ openshift.common.config_base }}/master/admin.kubeconfig - get -o template svc kubernetes --template=\\{\\{.spec.clusterIP\\}\\} - --output-version=v1 + # This command has to be on a single line. + command: "{{ openshift.common.client_binary }} -n default --config={{ openshift.common.config_base }}/master/admin.kubeconfig get -o template svc kubernetes --template=\\{\\{.spec.clusterIP\\}\\} --output-version=v1" register: master_service_ip_output when: openshift.common.version_greater_than_3_1_or_1_1 | bool - set_fact: |