mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #900 from lorin/pip-venv-bug
Retrieve pip path after creating virtualenv
This commit is contained in:
commit
705057b9a6
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,6 @@ def main():
|
|||
out = ''
|
||||
|
||||
env = module.params['virtualenv']
|
||||
pip = _find_pip(module, env)
|
||||
|
||||
if env:
|
||||
virtualenv = _find_virtualenv(module)
|
||||
|
@ -112,6 +111,8 @@ def main():
|
|||
out += out_venv
|
||||
err += err_venv
|
||||
|
||||
pip = _find_pip(module, env)
|
||||
|
||||
state = module.params['state']
|
||||
name = module.params['name']
|
||||
version = module.params['version']
|
||||
|
|
Loading…
Reference in a new issue