Removed old path for inventory script.

This commit is contained in:
Chris Church 2013-06-25 11:43:26 -04:00
parent d9fb5d17a5
commit bb65f7556c

View File

@ -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')