Merge "Support installing from pypi in and out of virtualenvs"

This commit is contained in:
Zuul 2021-02-24 18:58:50 +00:00 committed by Gerrit Code Review
commit 0bba6aa29d

View File

@ -2,8 +2,8 @@
- name: Install required packages from Pypi
pip:
name: ara[server]
virtualenv: "{{ ara_api_venv_path }}"
state: present
virtualenv: "{{ ara_api_venv | bool | ternary(ara_api_venv_path, omit) }}"
virtualenv_command: /usr/bin/python3 -m venv
- name: Prefix the virtualenv bin directory to PATH