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