Skip to content

An ansible role that installs pip using get-pip.py and then installs any version

License

Notifications You must be signed in to change notification settings

bobbyrenwick/ansible-pip

Repository files navigation

ansible-pip

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

Role Variables

  • pip_download_dest specifies where get-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 as None).
  • python specifies what Python executable to use. Defaults to python.
  • pip specifies what pip executable to check and use. Defaults to pip.
  • pip_proxy specifies a HTTP proxy, if you have to use it (e.g. behind firewall). Default is `` to skip it.

Contributors

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)

About

An ansible role that installs pip using get-pip.py and then installs any version

Resources

License

Stars

Watchers

Forks

Packages

No packages published