aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-30 22:19:00 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-04-30 22:19:06 +0200
commit8abfa0cc75be0100793d3c805e9c871d65a4d341 (patch)
tree90115f4de78b1f081b6a865d603b2553cec95997 /tests
parentd5ad3c239f29d2314e5f18f839cd3e05310c1e20 (diff)
downloadkolla-8abfa0cc75be0100793d3c805e9c871d65a4d341.tar.gz
kolla-8abfa0cc75be0100793d3c805e9c871d65a4d341.zip
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
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/pre.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml
index 6065a898c..2e02e3854 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: .