mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Removed old path for inventory script.
This commit is contained in:
parent
d9fb5d17a5
commit
bb65f7556c
@ -107,11 +107,7 @@ class RunJob(Task):
|
||||
# it doesn't make sense to rely on ansible-playbook's default of using
|
||||
# the current user.
|
||||
ssh_username = ssh_username or 'root'
|
||||
if False:
|
||||
inventory_script = self.get_path_to('management', 'commands',
|
||||
'acom_inventory.py')
|
||||
else:
|
||||
inventory_script = self.get_path_to('..', 'scripts', 'inventory.py')
|
||||
inventory_script = self.get_path_to('..', 'scripts', 'inventory.py')
|
||||
args = ['ansible-playbook', '-i', inventory_script]
|
||||
if job.job_type == 'check':
|
||||
args.append('--check')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user