summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-12-20 10:13:33 -0800
committerToshio Kuratomi <toshio@fedoraproject.org>2015-12-20 11:34:57 -0800
commit8d7892cc7b7a95c4efda003c8b187d1bc4875a5f (patch)
treead1d14afdd0206d30162542c08bc0d439ba5ac69
parent6ae04c1e4f698629610030a74f5bb5fc501f5a1e (diff)
downloadansible-8d7892cc7b7a95c4efda003c8b187d1bc4875a5f.tar.gz
Done troubleshooting
Revert "Troubleshooting has reduced us to this" This reverts commit 9abef1a1d7e8df5e580e17ef4a54cec280fbc7dc.
-rw-r--r--test/integration/roles/test_get_url/tasks/main.yml14
1 files changed, 2 insertions, 12 deletions
diff --git a/test/integration/roles/test_get_url/tasks/main.yml b/test/integration/roles/test_get_url/tasks/main.yml
index 54debc06d1..cbf3b345f1 100644
--- a/test/integration/roles/test_get_url/tasks/main.yml
+++ b/test/integration/roles/test_get_url/tasks/main.yml
@@ -96,22 +96,12 @@
register: get_url_result
ignore_errors: True
-- name: TROUBLESHOOTING
- shell: curl https://foo.sni.velox.ch/ > /var/tmp/velox.html
- register: trouble
- ignore_errors: True
- when: "{{ python_has_ssl_context }}"
-
-- debug: var=trouble
- when: "{{ python_has_ssl_context }}"
-
-- debug: var=get_url_result
- when: "{{ python_has_ssl_context }}"
-
- command: "grep 'sent the following TLS server name indication extension' {{ output_dir}}/sni.html"
register: data_result
when: "{{ python_has_ssl_context }}"
+# If distros start backporting SNI, can make a new conditional based on whether this works:
+# python -c 'from ssl import SSLContext'
- debug: var=get_url_result
- name: Assert that SNI works with this python version
assert: