bd9c9cd617
Optionally support the download and installation of pip and its dependencies via the deployment host to remove the dependence of internet connectivity on remote containers. When pip_offline_install is true, download get-pip.py and the pip installation wheels to the deployment host. These wheels along with get-pip.py are copied to the remote container and the installation is performed offline. Change-Id: Ic6583c54976b6fb083d9c67d055897c15bce05dc |
||
---|---|---|
defaults | ||
doc | ||
files | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
other-requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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