mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
Mass rename from ansible_(awx|tower) -> (awx|tower)
This commit is contained in:
@@ -180,10 +180,10 @@ def run_isolated_job(private_data_dir, secrets, logfile=sys.stdout):
|
||||
pexpect_timeout = secrets.get('pexpect_timeout', 5)
|
||||
|
||||
# Use local callback directory
|
||||
callback_dir = os.getenv('TOWER_LIB_DIRECTORY')
|
||||
callback_dir = os.getenv('AWX_LIB_DIRECTORY')
|
||||
if callback_dir is None:
|
||||
raise RuntimeError('Location for Tower Ansible callbacks must be specified '
|
||||
'by environment variable TOWER_LIB_DIRECTORY.')
|
||||
raise RuntimeError('Location for callbacks must be specified '
|
||||
'by environment variable AWX_LIB_DIRECTORY.')
|
||||
env['ANSIBLE_CALLBACK_PLUGINS'] = os.path.join(callback_dir, 'isolated_callbacks')
|
||||
if 'AD_HOC_COMMAND_ID' in env:
|
||||
env['ANSIBLE_STDOUT_CALLBACK'] = 'minimal'
|
||||
|
||||
Reference in New Issue
Block a user