An ansible role that ensures pip is installed at the version you specify.
It uses get-pip.py
to install pip.
See role in ansible-galaxy and on github
pip_download_dest
specifies whereget-pip.py
should be downloaded to. Defaults to/tmp
pip_version
specifies which version of pip you want to install.- Defaults to
None
, to install the latest version (If pip is installed, upgrades to the latest pip version available) - Can be set to a specific version, e.g.
"6.0.8"
to force installation of that version. - Can be set explicitly to
"LATEST"
or"latest"
to force upgrade to the latest available version (same behaviour asNone
).
- Defaults to
python
specifies what Python executable to use. Defaults topython
.pip
specifies what pip executable to check and use. Defaults topip
.pip_proxy
specifies a HTTP proxy, if you have to use it (e.g. behind firewall). Default is `` to skip it.
Thanks to everyone who has contributed! (github account listed in parentheses).
- Bob Renwick (@bobbyrenwick)
- George Macon (@gmacon)
- Michal Gasek (@michalgasek)
- Joe Schaul (@jschaul)
- Conor Schaefer (@conorsch)
- Anton Belonovich (@binary-data)
- Anton Bormotov (@antonbormotov)
- Alexander Meindl (@alexandermeindl)
- Gilad Peleg (@pgilad)
- Jacob Floyd (@cognifloyd)