summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-12-01 14:04:35 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-12-01 14:04:35 -0500
commitcd374360673ac0fb39078a1c39b12db49e106cc0 (patch)
tree8d958de591f41f99d8e725aa5c5a3dafca5cf661 /playbooks
parentebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff)
parent6a71953ec28a358223a96444ea6ba5b2139becde (diff)
downloadopenshift-cd374360673ac0fb39078a1c39b12db49e106cc0.tar.gz
openshift-cd374360673ac0fb39078a1c39b12db49e106cc0.tar.bz2
openshift-cd374360673ac0fb39078a1c39b12db49e106cc0.tar.xz
openshift-cd374360673ac0fb39078a1c39b12db49e106cc0.zip
Merge pull request #1006 from abutcher/dns-ip
Fix kubernetes service ip gathering.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml7
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: