mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07: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:
parent
22fb4c858a
commit
34b928d283
1 changed files with 6 additions and 0 deletions
|
@ -233,6 +233,12 @@
|
||||||
- result is failed
|
- result is failed
|
||||||
when: result is not skipped
|
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
|
- name: install OS packages that are needed for SNI on old python
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue