Files
openstack-ansible/playbooks/roles/pip_install/defaults/main.yml
Jesse Pretorius 392de6b035 Implement a fall back URL for get-pip.py
This patch implements a fall-back URL for get-pip.py to cater for situations
where https://bootstrap.pypa.io/get-pip.py is not available (like today).

The deployer may still override the URL for the bootstrap process.

The patch also implements the fallback process in the pip_install role to
ensure that the fall back also takes place when the playbooks are run.

Change-Id: I33de85feacb633c10ed828f5d005992da6ca8a1e
2015-10-08 14:38:56 +01:00

24 lines
987 B
YAML

---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Path to pip download/installation script.
pip_upstream_repo_url: https://bootstrap.pypa.io
pip_get_pip_url: "{{ pip_upstream_repo_url }}/get-pip.py"
pip_get_pip_fallback_url: https://raw.github.com/pypa/pip/master/contrib/get-pip.py
# Additional options that you might want to pass to "get-pip.py" when installing pip.
# Default `pip_get_pip_options` is an empty string.
pip_get_pip_options: ""