Merge "Fix non-venv keystone handling"

This commit is contained in:
Zuul 2018-02-07 02:54:10 +00:00 committed by Gerrit Code Review
commit d244b090bb
1 changed files with 22 additions and 2 deletions

View File

@ -35,14 +35,34 @@
package=configparser
virtualenv=bifrost_venv_dir
extra_args="-c {{ upper_constraints_file }}"
when: skip_install is not defined and (enable_venv | bool == true)
when:
- skip_install is not defined
- enable_venv | bool == true
- name: "Install pymysql in venv if using"
include: pip_install.yml
package=pymysql
virtualenv=bifrost_venv_dir
extra_args="-c {{ upper_constraints_file }}"
when: skip_install is not defined and (enable_venv | bool == true)
when:
- skip_install is not defined
- enable_venv | bool == true
- name: "Install configparser if not using a venv"
include: pip_install.yml
package=configparser
extra_args="-c {{ upper_constraints_file }}"
when:
- skip_install is not defined
- enable_venv | bool == false
- name: "Install pymysql if not using a venv"
include: pip_install.yml
package=pymysql
extra_args="-c {{ upper_constraints_file }}"
when:
- skip_install is not defined
- enable_venv | bool == false
- name: "Install keystone using pip"
include: pip_install.yml