Fix unarchive integration test failure due to rpm error (#66420)
* Fix unarchive integration test failure * Do not cleanup pip packages
This commit is contained in:
parent
3db1ac4f56
commit
ad341ea4bb
3 changed files with 4 additions and 14 deletions
|
@ -1,4 +1,3 @@
|
|||
needs/root
|
||||
shippable/posix/group2
|
||||
destructive
|
||||
unstable
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
- name: remove python TLS packages
|
||||
yum:
|
||||
name:
|
||||
- python-urllib3
|
||||
- python2-ndg_httpsclient
|
||||
- pyOpenSSL
|
||||
- 'python-backports*'
|
||||
- python-six
|
||||
state: absent
|
|
@ -634,15 +634,15 @@
|
|||
file: path={{remote_tmp_dir}}/test-unarchive-tar-gz state=directory
|
||||
|
||||
- name: Install packages to make TLS connections work on CentOS 6
|
||||
yum:
|
||||
pip:
|
||||
name:
|
||||
- python-urllib3
|
||||
- python2-ndg_httpsclient
|
||||
- urllib3==1.10.2
|
||||
- ndg_httpsclient==0.4.4
|
||||
- pyOpenSSL==16.2.0
|
||||
state: present
|
||||
when:
|
||||
- ansible_facts.distribution == 'CentOS'
|
||||
- not ansible_facts.python.has_sslcontext
|
||||
notify: remove python TLS packages
|
||||
|
||||
- name: unarchive a tar from an URL
|
||||
unarchive:
|
||||
|
|
Loading…
Reference in a new issue