
Installs all source packages with --editable flag, so that they can be edited in-place. Change-Id: Iba0be299aeb3ffe75e644c88d3df9c2af4ec9ef1
21 lines
716 B
YAML
21 lines
716 B
YAML
---
|
|
# Global options
|
|
bifrost_venv_dir: "{{ lookup('env', 'VENV') or '/opt/stack/bifrost' }}"
|
|
bifrost_venv_env:
|
|
VIRTUAL_ENV: "{{ bifrost_venv_dir }}"
|
|
PATH: "{{ bifrost_venv_dir }}/bin:{{ ansible_env.PATH }}" # include regular path via lookup env
|
|
enable_venv: true
|
|
skip_install: false
|
|
source_install: false
|
|
ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' if enable_venv | bool else '/usr/bin/python3' }}"
|
|
|
|
# Pip options
|
|
developer_mode: false
|
|
extra_args:
|
|
pip_install_retries: 5
|
|
pip_install_delay: 10
|
|
reqs_git_folder: /opt/stack/requirements
|
|
state: present
|
|
version:
|
|
upper_constraints_file: "{{ lookup('env', 'UPPER_CONSTRAINTS_FILE') | default(reqs_git_folder + '/upper-constraints.txt', True) }}"
|