mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2025-02-21 01:51:41 +01:00
PR #11: Add documentation for virtualenv option.
This commit is contained in:
parent
4c1b31f213
commit
211bb244f0
10
README.md
10
README.md
@ -42,6 +42,10 @@ A list of packages to install with pip. Examples below:
|
||||
# Or force a reinstall.
|
||||
- name: docker
|
||||
state: forcereinstall
|
||||
|
||||
# Or install a package in a particular virtualenv.
|
||||
- name: docker
|
||||
virtualenv: /my_app/venv
|
||||
|
||||
## Dependencies
|
||||
|
||||
@ -50,6 +54,12 @@ None.
|
||||
## Example Playbook
|
||||
|
||||
- hosts: all
|
||||
|
||||
vars:
|
||||
pip_install_packages:
|
||||
- name: docker
|
||||
- name: awscli
|
||||
|
||||
roles:
|
||||
- geerlingguy.pip
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user