This is necessary until we drop support for CentOS 7. Also use Train upper constraints with Python 2, since Train is the last release to support Python 2. Change-Id: I085d107ae2d338a7609dececb7b62555937b7b1e
10 lines
455 B
Plaintext
10 lines
455 B
Plaintext
---
|
|
# Path to virtualenv used to install Python requirements. If a virtualenv does
|
|
# not exist at this location, one will be created.
|
|
virtualenv_path: "{{ '/'.join([ansible_env['HOME'], 'tenks-venv']) }}"
|
|
|
|
# The URL of the upper constraints file to pass to pip when installing Python
|
|
# packages.
|
|
python_upper_constraints_url: >-
|
|
https://releases.openstack.org/constraints/upper/{% if ansible_python.version.major == 2 %}train{% else %}master{% endif %}
|