Use latest pip in gate jobs

We've seen failures with probe tests lately where dnspython 2.0.0 is
getting installed even though it doesn't support py2 anymore. I think
using latest pip should be better about noticing that and installing the
last 1.x release intead?

Change-Id: I6eda54ccd2792effadb334ce9324887132b62b6f
(cherry picked from commit 1c91547643)
This commit is contained in:
Tim Burke 2020-07-20 12:33:26 -07:00 committed by Tim Burke
parent 635c71c59e
commit 498454a139
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@
roles: roles:
- ensure-pip - ensure-pip
tasks: tasks:
- name: upgrade pip
pip:
name: pip
extra_args: --upgrade
- name: installing dependencies - name: installing dependencies
yum: name={{ item }} state=present yum: name={{ item }} state=present
with_items: with_items: