Ensure pip is installed locally
Recent changes to the base nodepool images removed the system-wide installation of pip and virtualenv. As a result of this, some requirements-check jobs are failing with an error that pip could not be found. This adds the ensure-pip role as part of pre_tasks in our requirements-check playbook. Change-Id: Id4969156383545eb94462677e3321b89c1160b48 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
1b6e378b46
commit
74a5bed896
@ -1,4 +1,9 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
|
pre_tasks:
|
||||||
|
- name: Ensure pip
|
||||||
|
include_role:
|
||||||
|
name: ensure-pip
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install openstack_requirements
|
- name: Install openstack_requirements
|
||||||
command: "pip3 install --user {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}"
|
command: "pip3 install --user {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user