Remove conflicting urllib3 from pip in uri test.

The uri test will fail on centos6 if run after a test that installs urllib3 via pip unless it is uninstalled.
This commit is contained in:
Matt Clay 2019-03-14 17:47:19 -07:00
parent 22fb4c858a
commit 34b928d283

View file

@ -233,6 +233,12 @@
- result is failed
when: result is not skipped
- name: uninstall conflicting urllib3 pip package
pip:
name: urllib3
state: absent
when: not ansible_python.has_sslcontext and not is_ubuntu_precise|bool
- name: install OS packages that are needed for SNI on old python
package:
name: "{{ item }}"