mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2025-02-22 02:01:38 +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.
|
# Or force a reinstall.
|
||||||
- name: docker
|
- name: docker
|
||||||
state: forcereinstall
|
state: forcereinstall
|
||||||
|
|
||||||
|
# Or install a package in a particular virtualenv.
|
||||||
|
- name: docker
|
||||||
|
virtualenv: /my_app/venv
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
@ -50,6 +54,12 @@ None.
|
|||||||
## Example Playbook
|
## Example Playbook
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
|
||||||
|
vars:
|
||||||
|
pip_install_packages:
|
||||||
|
- name: docker
|
||||||
|
- name: awscli
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.pip
|
- geerlingguy.pip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user