mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes #5381 easy_install bug when used with virtualenv
This commit is contained in:
parent
d6ea5be20f
commit
fd037f5960
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,6 @@ def main():
|
||||||
name = module.params['name']
|
name = module.params['name']
|
||||||
env = module.params['virtualenv']
|
env = module.params['virtualenv']
|
||||||
executable = module.params['executable']
|
executable = module.params['executable']
|
||||||
easy_install = _get_easy_install(module, env, executable)
|
|
||||||
site_packages = module.params['virtualenv_site_packages']
|
site_packages = module.params['virtualenv_site_packages']
|
||||||
virtualenv_command = module.params['virtualenv_command']
|
virtualenv_command = module.params['virtualenv_command']
|
||||||
|
|
||||||
|
@ -159,6 +158,8 @@ def main():
|
||||||
out += out_venv
|
out += out_venv
|
||||||
err += err_venv
|
err += err_venv
|
||||||
|
|
||||||
|
easy_install = _get_easy_install(module, env, executable)
|
||||||
|
|
||||||
cmd = None
|
cmd = None
|
||||||
changed = False
|
changed = False
|
||||||
installed = _is_package_installed(module, name, easy_install)
|
installed = _is_package_installed(module, name, easy_install)
|
||||||
|
|
Loading…
Reference in a new issue