1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 }}"