2017-05-27 05:09:47 +02:00
|
|
|
# Ansible Role: Pip (for Python)
|
|
|
|
|
2017-05-27 06:07:36 +02:00
|
|
|
[![Build Status](https://travis-ci.org/geerlingguy/ansible-role-pip.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-pip)
|
2017-05-27 05:09:47 +02:00
|
|
|
|
|
|
|
An Ansible Role that installs [Pip](https://pip.pypa.io) on Linux.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## 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:
|
2017-05-27 05:22:04 +02:00
|
|
|
# Specify names and versions.
|
2017-05-31 05:59:45 +02:00
|
|
|
- name: docker
|
2017-05-27 05:22:04 +02:00
|
|
|
version: "1.2.3"
|
|
|
|
- name: awscli
|
|
|
|
version: "1.11.91"
|
|
|
|
# Or specify bare packages to get the latest release.
|
2017-05-31 05:59:45 +02:00
|
|
|
- docker
|
2017-05-27 05:22:04 +02:00
|
|
|
- awscli
|
2017-05-27 05:09:47 +02:00
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## Example Playbook
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
roles:
|
|
|
|
- geerlingguy.pip
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT / BSD
|
|
|
|
|
|
|
|
## Author Information
|
|
|
|
|
|
|
|
This role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).
|