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
|
needs/root
|
||||||
shippable/posix/group2
|
shippable/posix/group2
|
||||||
destructive
|
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
|
file: path={{remote_tmp_dir}}/test-unarchive-tar-gz state=directory
|
||||||
|
|
||||||
- name: Install packages to make TLS connections work on CentOS 6
|
- name: Install packages to make TLS connections work on CentOS 6
|
||||||
yum:
|
pip:
|
||||||
name:
|
name:
|
||||||
- python-urllib3
|
- urllib3==1.10.2
|
||||||
- python2-ndg_httpsclient
|
- ndg_httpsclient==0.4.4
|
||||||
|
- pyOpenSSL==16.2.0
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution == 'CentOS'
|
- ansible_facts.distribution == 'CentOS'
|
||||||
- not ansible_facts.python.has_sslcontext
|
- not ansible_facts.python.has_sslcontext
|
||||||
notify: remove python TLS packages
|
|
||||||
|
|
||||||
- name: unarchive a tar from an URL
|
- name: unarchive a tar from an URL
|
||||||
unarchive:
|
unarchive:
|
||||||
|
|
Loading…
Reference in a new issue