RETIRED, Role pip_install for OpenStack-Ansible
Go to file
Steve Lewis c1323f2d77 Install required packages for get_url module
To prevent Ansible get_url module from generating SNI warnings
several system packages are being installed so that system python
will allow us to get pip and install it.

The strategy for using system pip to install the python packages
to prevent SNI warnings causes additional issues as system package
pip versions may be broken in spectacular ways which prevent us from
upgrading to pinned versions of each of pip, setuptools, wheel.

Change-Id: I45e3eff716dba4fb2926794bc25bfb079bb328bf
Closes-Bug: 1612377
2016-08-13 03:28:21 +00:00
defaults Install required packages for get_url module 2016-08-13 03:28:21 +00:00
doc Ensure that doc linting is included in the linters test 2016-07-26 00:44:34 +01:00
files Combine pip_install and pip_lockdown roles 2016-05-03 11:12:18 -04:00
meta IRR for pip_install 2015-11-03 02:34:10 -06:00
releasenotes Add ability to change apt/yum package state 2016-08-07 15:56:38 +01:00
tasks Install required packages for get_url module 2016-08-13 03:28:21 +00:00
templates Combine pip_install and pip_lockdown roles 2016-05-03 11:12:18 -04:00
tests Add SNI support via pip 2016-08-05 18:44:02 -05:00
vars Install required packages for get_url module 2016-08-13 03:28:21 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:21:47 +01:00
.gitreview New git dotfiles for independant repository 2015-11-25 17:22:01 +00:00
CONTRIBUTING.rst IRR for pip_install 2015-11-03 02:34:10 -06:00
LICENSE IRR for pip_install 2015-11-03 02:34:10 -06:00
README.rst Ensure that doc linting is included in the linters test 2016-07-26 00:44:34 +01:00
Vagrantfile Combine pip_install and pip_lockdown roles 2016-05-03 11:12:18 -04:00
other-requirements.txt Enable CentOS support 2016-05-25 11:27:57 +00:00
run_tests.sh Install required packages for get_url module 2016-08-13 03:28:21 +00:00
setup.cfg updated summary 2015-12-08 14:09:02 -06:00
setup.py Updated from global requirements 2016-07-15 03:58:14 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:58:14 +00:00
tox.ini Include ansible commands for ansible linting 2016-08-11 18:10:59 +01:00

README.rst

OpenStack-Ansible pip install

This role will install pip using the upstream pip installation script. Within the installation of pip the role will create a .pip directory within the deploying user's home folder and a blank selfcheck JSON file for pip to use to keep track of versions.

It can also configure pip links that will restrict the package sources to the OpenStack-Ansible repository.

Default Variables

../../defaults/main.yml

Required Variables

None

Example Playbook

- name: Install pip and lock it down
  hosts: host_name
  user: root
  roles:
    - role: "pip_install"
      pip_lock_to_internal_repo: True