From 20e9ef877f6706b12b47d59d864dac51eeb2291c Mon Sep 17 00:00:00 2001 From: Aditya Putta Date: Sat, 12 Jul 2025 05:05:42 -0500 Subject: [PATCH] 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 --- plugins/modules/easy_install.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/modules/easy_install.py b/plugins/modules/easy_install.py index 734f0dc4df..0f66ed3add 100644 --- a/plugins/modules/easy_install.py +++ b/plugins/modules/easy_install.py @@ -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