summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 14:57:27 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 14:57:27 -0500
commitab01034ee6c0f14ec35be315918f5073d3a584bf (patch)
tree996875d291be017aa55289bc436d45fca55a0011 /playbooks/common/openshift-master
parent74026a867051d6909db02bab4140d663b26b7968 (diff)
parenteb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69 (diff)
downloadopenshift-ab01034ee6c0f14ec35be315918f5073d3a584bf.tar.gz
openshift-ab01034ee6c0f14ec35be315918f5073d3a584bf.tar.bz2
openshift-ab01034ee6c0f14ec35be315918f5073d3a584bf.tar.xz
openshift-ab01034ee6c0f14ec35be315918f5073d3a584bf.zip
Merge branch 'wait-all-the-time' of https://github.com/abutcher/openshift-ansible
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/scaleup.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml
index 6f8151d30..ccb1d23f1 100644
--- a/playbooks/common/openshift-master/scaleup.yml
+++ b/playbooks/common/openshift-master/scaleup.yml
@@ -33,9 +33,9 @@
service: name={{ openshift.common.service_type }}-master-controllers state=restarted
- name: verify api server
command: >
- curl -k --head --silent {{ openshift.master.api_url }}
+ curl -k --silent {{ openshift.master.api_url }}/healthz/ready
register: api_available_output
- until: api_available_output.stdout.find("200 OK") != -1
+ until: api_available_output.stdout == 'ok'
retries: 120
delay: 1
changed_when: false