mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #1330 from wzzrd/pip
Test for python-pip as well as pip
This commit is contained in:
commit
036f853d42
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,9 @@ def main():
|
|||
out += out_venv
|
||||
err += err_venv
|
||||
|
||||
pip = module.get_bin_path('pip', True, ['%s/bin' % env])
|
||||
pip = module.get_bin_path('python-pip', False, ['%s/bin' % env])
|
||||
if not pip:
|
||||
pip = module.get_bin_path('pip', True, ['%s/bin' % env])
|
||||
|
||||
state = module.params['state']
|
||||
name = module.params['name']
|
||||
|
|
Loading…
Reference in a new issue