summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/handlers
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-02 15:26:55 -0400
committerScott Dodson <sdodson@redhat.com>2016-11-02 15:33:17 -0400
commit022530f6c3918816f1461e756f1e9a9001364abb (patch)
treed2aaedc764283fbfae776bdfee2eb88e5e6d9bc7 /roles/openshift_metrics/handlers
parent76fca28ea37a791447974a823dc00508fbcd243a (diff)
downloadopenshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.gz
openshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.bz2
openshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.xz
openshift-022530f6c3918816f1461e756f1e9a9001364abb.zip
Where we use curl force it to use tlsv1.2
curl, prior to RHEL 7.2, did not properly negotiate up the TLS protocol, so force it to use tlsv1.2 Fixes bug 1390869
Diffstat (limited to 'roles/openshift_metrics/handlers')
-rw-r--r--roles/openshift_metrics/handlers/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_metrics/handlers/main.yml b/roles/openshift_metrics/handlers/main.yml
index 913f3b0ae..e119db1a2 100644
--- a/roles/openshift_metrics/handlers/main.yml
+++ b/roles/openshift_metrics/handlers/main.yml
@@ -17,7 +17,7 @@
# Using curl here since the uri module requires python-httplib2 and
# wait_for port doesn't provide health information.
command: >
- curl --silent
+ curl --silent --tlsv1.2
{% if openshift.common.version_gte_3_2_or_1_2 | bool %}
--cacert {{ openshift.common.config_base }}/master/ca-bundle.crt
{% else %}