diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-06-15 13:19:59 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-08-01 11:33:14 -0400 |
commit | 4c66a9b62488b5e344f2e65cda6bc2ba3e0f2933 (patch) | |
tree | 57f0d2ee98a622e012d339c044e84d5855718949 /playbooks/common/openshift-node/config.yml | |
parent | 1bdbe5ed4b609d06651d4d3ded4dc70a7f7ed865 (diff) | |
download | openshift-4c66a9b62488b5e344f2e65cda6bc2ba3e0f2933.tar.gz openshift-4c66a9b62488b5e344f2e65cda6bc2ba3e0f2933.tar.bz2 openshift-4c66a9b62488b5e344f2e65cda6bc2ba3e0f2933.tar.xz openshift-4c66a9b62488b5e344f2e65cda6bc2ba3e0f2933.zip |
Add options for specifying named ca certificates to be added to the openshift ca bundle.
Diffstat (limited to 'playbooks/common/openshift-node/config.yml')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index fc6e57439..871f9211a 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -245,7 +245,12 @@ # Using curl here since the uri module requires python-httplib2 and # wait_for port doesn't provide health information. command: > - curl --silent --cacert {{ openshift.common.config_base }}/master/ca.crt + curl --silent + {% if openshift.common.version_gte_3_2_or_1_2 | bool %} + --cacert {{ openshift.common.config_base }}/master/ca-bundle.crt + {% else %} + --cacert {{ openshift.common.config_base }}/master/ca.crt + {% endif %} {{ openshift.master.api_url }}/healthz/ready register: api_available_output until: api_available_output.stdout == 'ok' |