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
This commit is contained in:
Marcin Juszkiewicz 2020-04-30 22:19:00 +02:00
parent d5ad3c239f
commit 8abfa0cc75

View File

@ -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: .