From d2cb3e2e9348da30e93a80d6ae952e697bee2068 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 17 Jun 2020 15:54:05 +0100 Subject: [PATCH] Install python setuptools & virtualenv These are no longer installed in the nodepool image provided by infra. Change-Id: I52350a54e58042f390eb2ad84b220194ca2ef4b9 --- roles/tenks-ci-prep/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/tenks-ci-prep/tasks/main.yml b/roles/tenks-ci-prep/tasks/main.yml index 845124d..c425596 100644 --- a/roles/tenks-ci-prep/tasks/main.yml +++ b/roles/tenks-ci-prep/tasks/main.yml @@ -12,3 +12,12 @@ command: yum-config-manager --enable epel when: ansible_os_family == 'RedHat' become: true + +- name: Install Python3 modules + become: true + package: + name: + - python3-pip + - python3-setuptools + - python3-wheel + - "{% if ansible_os_family == 'Debian' %}virtualenv{% else %}python3-virtualenv{% endif %}"