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:
parent
22fb4c858a
commit
34b928d283
1 changed files with 6 additions and 0 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue