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

---------

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Aditya Putta 2025-07-12 05:05:42 -05:00 committed by GitHub
commit 20e9ef877f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,12 @@ EXAMPLES = r"""
community.general.easy_install:
name: bottle
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