mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
[PR #10380/20e9ef87 backport][stable-10] community.general.easy_install : use of the virtualenv_command parameter (#10387)
community.general.easy_install : use of the virtualenv_command parameter (#10380)
* community.general.easy_install : use of the virtualenv_command parameter
* Apply suggestions from code review
---------
(cherry picked from commit 20e9ef877f
)
Co-authored-by: Aditya Putta <puttaa@yahoo.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
63a8f1e89f
commit
adf0f41b4b
1 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,12 @@ EXAMPLES = r"""
|
||||||
community.general.easy_install:
|
community.general.easy_install:
|
||||||
name: bottle
|
name: bottle
|
||||||
virtualenv: /webapps/myapp/venv
|
virtualenv: /webapps/myapp/venv
|
||||||
|
|
||||||
|
- name: Install a python package using pyvenv as the virtualenv tool
|
||||||
|
community.general.easy_install:
|
||||||
|
name: package_name
|
||||||
|
virtualenv: /opt/myenv
|
||||||
|
virtualenv_command: pyvenv
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue