From bb65f7556c8e2bdada2e70d4c4f6e457670638a5 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 25 Jun 2013 11:43:26 -0400 Subject: [PATCH] Removed old path for inventory script. --- awx/main/tasks.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index dc725394c3..285fc356e0 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -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')