[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:
patchback[bot] 2025-07-12 12:33:12 +02:00 committed by GitHub
commit adf0f41b4b
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: 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