From 8abfa0cc75be0100793d3c805e9c871d65a4d341 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 30 Apr 2020 22:19:00 +0200 Subject: [PATCH] CI: make sure that virtualenv is available Failed to find required executable virtualenv in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Change-Id: Ie6094e1c5de5c89e0180c42edf5ef94c1c9964b7 --- tests/playbooks/pre.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 6065a898cb..2e02e38546 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -29,6 +29,15 @@ - python3-wheel become: true + # NOTE(hrw): On RedHat systems it is part of python3-virtualenv + - name: Install virtualenv on Debian systems + package: + name: + - virtualenv + become: true + when: + ansible_os_family == "Debian" + - name: Install kolla pip: name: .