Move pip settings to group_vars/all

We need to use pip on localhost as well as on hypervisors, for Ironic
enrolment.
This commit is contained in:
Will Miller 2018-09-07 13:22:06 +01:00
parent af98a20249
commit 768af20e84
2 changed files with 9 additions and 9 deletions

9
ansible/group_vars/all Normal file
View File

@ -0,0 +1,9 @@
---
# 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://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt

View File

@ -6,15 +6,6 @@ physnet_mappings: {}
system_requirements:
- python-virtualenv
# 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://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
# Naming scheme for bridges created by tenks for physical networks is
# {{ bridge_prefix + i }}, where `i` is the index of the physical network in
# physnet_mappings (sorted alphabetically by key).