mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Done troubleshooting
Revert "Troubleshooting has reduced us to this"
This reverts commit 9abef1a1d7
.
This commit is contained in:
parent
6ae04c1e4f
commit
8d7892cc7b
1 changed files with 2 additions and 12 deletions
|
@ -96,22 +96,12 @@
|
||||||
register: get_url_result
|
register: get_url_result
|
||||||
ignore_errors: True
|
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"
|
- command: "grep 'sent the following TLS server name indication extension' {{ output_dir}}/sni.html"
|
||||||
register: data_result
|
register: data_result
|
||||||
when: "{{ python_has_ssl_context }}"
|
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
|
- debug: var=get_url_result
|
||||||
- name: Assert that SNI works with this python version
|
- name: Assert that SNI works with this python version
|
||||||
assert:
|
assert:
|
||||||
|
|
Loading…
Reference in a new issue