
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
OpenStack pip
- tags
-
openstack, pip, cloud, ansible
- category
-
*nix
This role will install pip using the upstream pip.
- name: Install pip and lock it down
hosts: host_name
user: root
roles:
- { role: "pip_lock_down", tags: [ "pip-lock-down" ] }
vars:
pip_get_pip_url: https://bootstrap.pypa.io/get-pip.py