Role Detail

geerlingguy.pip

Pip (Python package manager) for Linux.
Downloads
4490
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install geerlingguy.pip
Tags
packaging
python
server
system
tools
Last Commit 2017-10-31 19:41:07 PM UTC
Last Imported 2017-11-18 05:51:05 AM UTC
Version History
Version Release Date
1.1.0 2017-10-31 19:41:07 PM
1.0.0 2017-05-27 04:15:04 AM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 5
EL 6
EL 7
Fedora 16
Fedora 17
Fedora 18
Fedora 19
Fedora 20
Fedora 21
Fedora 22
Fedora 23
Fedora 24
Fedora 25
Fedora 26
Ubuntu artful
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Ubuntu zesty
Last 10 Imports
Completed Status
2017-11-18 05:51:05 AM UTC SUCCESS
2017-11-17 05:50:05 AM UTC SUCCESS
2017-11-16 05:50:05 AM UTC SUCCESS
2017-11-15 05:49:05 AM UTC SUCCESS
2017-11-14 14:15:02 PM UTC SUCCESS
2017-11-13 05:48:05 AM UTC SUCCESS
2017-11-11 05:46:05 AM UTC SUCCESS
2017-11-09 05:45:05 AM UTC SUCCESS
2017-11-07 05:45:05 AM UTC SUCCESS
2017-11-06 05:44:05 AM UTC SUCCESS

Ansible Role: Pip (for Python)

Build Status

An Ansible Role that installs Pip on Linux.

Requirements

On RedHat/CentOS, you may need to have EPEL installed before running this role. You can use the geerlingguy.repo-epel role if you need a simple way to ensure it's installed.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

pip_install_packages: []

A list of packages to install with pip. Examples below:

pip_install_packages:
  # Specify names and versions.
  - name: docker
    version: "1.2.3"
  - name: awscli
    version: "1.11.91"

  # Or specify bare packages to get the latest release.
  - docker
  - awscli

  # Or uninstall a package.
  - name: docker
    state: absent

  # Or update a package ot the latest version.
  - name: docker
    state: latest

  # Or force a reinstall.
  - name: docker
    state: forcereinstall

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - geerlingguy.pip

License

MIT / BSD

Author Information

This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.

None