mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #4786 from SalesSeek/find-correct-easy-install
Fix determination of correct, possibly customized, 'easy_install' executable
This commit is contained in:
commit
8b774f27c2
1 changed files with 0 additions and 3 deletions
|
@ -133,7 +133,6 @@ def main():
|
|||
|
||||
name = module.params['name']
|
||||
env = module.params['virtualenv']
|
||||
easy_install = module.get_bin_path(module.params['executable'], True, ['%s/bin' % env])
|
||||
executable = module.params['executable']
|
||||
easy_install = _get_easy_install(module, env, executable)
|
||||
site_packages = module.params['virtualenv_site_packages']
|
||||
|
@ -158,8 +157,6 @@ def main():
|
|||
out += out_venv
|
||||
err += err_venv
|
||||
|
||||
easy_install = module.get_bin_path('easy_install', True, ['%s/bin' % env])
|
||||
|
||||
cmd = None
|
||||
changed = False
|
||||
installed = _is_package_installed(module, name, easy_install)
|
||||
|
|
Loading…
Reference in a new issue