mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
Fix ansible-test python and pip executable search.
This commit is contained in:
parent
dd37857884
commit
a8487feb70
14 changed files with 81 additions and 75 deletions
|
@ -15,7 +15,6 @@ from lib.util import (
|
|||
display,
|
||||
ApplicationError,
|
||||
is_shippable,
|
||||
find_pip,
|
||||
run_command,
|
||||
generate_password,
|
||||
SubprocessError,
|
||||
|
@ -151,8 +150,7 @@ class TowerCloudEnvironment(CloudEnvironment):
|
|||
|
||||
display.info('Installing Tower CLI version: %s' % tower_cli_version)
|
||||
|
||||
pip = find_pip(version=self.args.python_version)
|
||||
cmd = [pip, 'install', '--disable-pip-version-check', 'ansible-tower-cli==%s' % tower_cli_version]
|
||||
cmd = self.args.pip_command + ['install', '--disable-pip-version-check', 'ansible-tower-cli==%s' % tower_cli_version]
|
||||
|
||||
run_command(self.args, cmd)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue