Fix up direct launching of system jobs

This commit is contained in:
Matthew Jones
2014-11-18 11:38:24 -05:00
parent a40120d1cf
commit fb8d7e5d9c
2 changed files with 9 additions and 2 deletions

View File

@@ -1168,7 +1168,7 @@ class RunSystemJob(BaseTask):
if 'inventory_updates' in json_vars and json_vars['inventory_updates']:
args.extend(['--inventory-updates'])
except Exception, e:
pass
logger.error("Failed to parse system job: " + str(e))
return args
def build_cwd(self, instance, **kwargs):