openstack-ansible/playbooks/roles/pip_install
Andy McCrae 1bfbe3be25 Ensure get-pip.py is retrieved properly
Without force: "yes" the get_url module will only retrieve the file if
the destination doesn't exist. This causes issues if, for example, the
get-pip.py exists but is empty (due to an issue), or if the get-pip.py
is updated at some point.

Change-Id: I9d6933c837e0e38d51dfb57a3eddd1ca461e0723
Closes-Bug: #1429165
2015-03-12 11:41:45 +00:00
..
defaults Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00: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 Ensure get-pip.py is retrieved properly 2015-03-12 11:41:45 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +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

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