summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/scaleup.yml
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-03-15 15:32:43 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-03-15 15:32:43 -0400
commit837fe7dc76a186e8dbae656170c64d719d842984 (patch)
treee0243e3dd39418a88ade51aa580047c9bb45521a /playbooks/common/openshift-master/scaleup.yml
parenta9ff7af9354292be391f017efb83b998ce23c63f (diff)
downloadopenshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.gz
openshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.bz2
openshift-837fe7dc76a186e8dbae656170c64d719d842984.tar.xz
openshift-837fe7dc76a186e8dbae656170c64d719d842984.zip
Provide cacert when performing health checks
Diffstat (limited to 'playbooks/common/openshift-master/scaleup.yml')
-rw-r--r--playbooks/common/openshift-master/scaleup.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml
index ccb1d23f1..6e6cb3e01 100644
--- a/playbooks/common/openshift-master/scaleup.yml
+++ b/playbooks/common/openshift-master/scaleup.yml
@@ -33,7 +33,8 @@
service: name={{ openshift.common.service_type }}-master-controllers state=restarted
- name: verify api server
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