43 lines
935 B
Markdown
43 lines
935 B
Markdown
|
# Ansible Role: Pip (for Python)
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/geerlingguy/ansible-role-docker.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-docker)
|
||
|
|
||
|
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:
|
||
|
# Specify a name and version.
|
||
|
- name: docker-py
|
||
|
version: 1.2.3
|
||
|
# Or specify a package by itself.
|
||
|
- docker-py
|
||
|
|
||
|
## 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/).
|