openstack-ansible/playbooks/roles/pip_install
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
..
defaults Implement a fall back URL for get-pip.py 2015-10-08 14:38:56 +01:00
files Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Implement a fall back URL for get-pip.py 2015-10-08 14:38:56 +01:00
CONTRIBUTING.rst Cleaning up doc8 violations. 2015-06-10 02:09:18 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

README.rst

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