Fix installation of python-openstack module when using venv

Change-Id: I0823f24e0012f69fdd306e810892ed3bc6655cde
This commit is contained in:
Olivier Bourdon 2018-07-04 10:37:35 +02:00
parent 15774c574e
commit 63194c1345
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@
- skip_install is not defined
- enable_venv | bool == true
- name: "Install python-openstackclient in venv if using"
include: pip_install.yml
package=python-openstackclient
virtualenv=bifrost_venv_dir
extra_args="-c {{ upper_constraints_file }}"
when:
- skip_install is not defined
- enable_venv | bool == true
- name: "Install configparser if not using a venv"
include: pip_install.yml
package=configparser