diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-03-15 15:32:43 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-03-15 15:32:43 -0400 |
commit | 837fe7dc76a186e8dbae656170c64d719d842984 (patch) | |
tree | e0243e3dd39418a88ade51aa580047c9bb45521a /roles/openshift_master/tasks | |
parent | a9ff7af9354292be391f017efb83b998ce23c63f (diff) | |
download | openshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.gz openshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.bz2 openshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.xz openshift-837fe7dc76a186e8dbae656170c64d719d842984.zip |
Provide cacert when performing health checks
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 1f499dc93..9c3d09d09 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -282,7 +282,8 @@ # Using curl here since the uri module requires python-httplib2 and # wait_for port doesn't provide health information. command: > - curl -k --silent {{ openshift.master.api_url }}/healthz/ready + curl --silent --cacert {{ openshift.common.config_base }}/master/ca.crt + {{ openshift.master.api_url }}/healthz/ready register: api_available_output until: api_available_output.stdout == 'ok' retries: 120 |