summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-02 15:37:01 -0400
committerGitHub <noreply@github.com>2016-11-02 15:37:01 -0400
commit4ad4b14403fca7220dd10657b6fa723b9e2bae05 (patch)
treed2aaedc764283fbfae776bdfee2eb88e5e6d9bc7 /roles
parent76fca28ea37a791447974a823dc00508fbcd243a (diff)
parent022530f6c3918816f1461e756f1e9a9001364abb (diff)
downloadopenshift-4ad4b14403fca7220dd10657b6fa723b9e2bae05.tar.gz
openshift-4ad4b14403fca7220dd10657b6fa723b9e2bae05.tar.bz2
openshift-4ad4b14403fca7220dd10657b6fa723b9e2bae05.tar.xz
openshift-4ad4b14403fca7220dd10657b6fa723b9e2bae05.zip
Merge pull request #2707 from sdodson/tlsv12
Where we use curl force it to use tlsv1.2
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/handlers/main.yml2
-rw-r--r--roles/openshift_metrics/handlers/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_master/handlers/main.yml b/roles/openshift_master/handlers/main.yml
index 913f3b0ae..e119db1a2 100644
--- a/roles/openshift_master/handlers/main.yml
+++ b/roles/openshift_master/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 %}
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 %}