diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-03-08 10:14:19 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-03-08 12:13:05 -0500 |
commit | eb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69 (patch) | |
tree | dccafde89ab97c66f414f870a8ed43675900495d /playbooks/common/openshift-master | |
parent | 440875336eb0df1c05056aeec8dc2ee0032a74d8 (diff) | |
download | openshift-eb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69.tar.gz openshift-eb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69.tar.bz2 openshift-eb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69.tar.xz openshift-eb4bbf0f3e5bdf5259ea1674c2c84a9ce83ede69.zip |
Use /healthz/ready when verifying api
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r-- | playbooks/common/openshift-master/scaleup.yml | 4 |
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 |