Re-order gate cleanup pip package removal

The packages are now removed in reverse dependency order. The previous
order would remove packages until a dependancy conflict would arise,
then would stop and the pip task would return 'changed' rather than
'failed'. See [1].

In addition, the pip installation of tox is removed.

[1] http://paste.openstack.org/show/789996/

Change-Id: I4f701ca5e7caa4d5ef182ca3eba523702bdae36a
This commit is contained in:
Jonathan Rosser 2020-02-26 08:43:46 +00:00
parent 78adec0357
commit b04481c82c
1 changed files with 4 additions and 3 deletions

View File

@ -29,16 +29,17 @@
- name: Remove known problem pip packages
pip:
name:
- virtualenv
- tox
- appdirs
- backports
- contextlib2
- distlib
- filelock
- importlib_metadata
- importlib_resources
- six
- virtualenv
- zipp
- zipp
- backports
state: absent
- name: Remove package blacklist for yum/dnf