mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Add TOWER_HOST in the form of TOWER_URL_BASE to job env
This commit is contained in:
parent
805d4d1ed6
commit
765b7d9cc2
@ -787,6 +787,7 @@ class RunJob(BaseTask):
|
||||
env['ANSIBLE_STDOUT_CALLBACK'] = 'tower_display'
|
||||
env['REST_API_URL'] = settings.INTERNAL_API_URL
|
||||
env['REST_API_TOKEN'] = job.task_auth_token or ''
|
||||
env['TOWER_HOST'] = settings.TOWER_URL_BASE
|
||||
env['CALLBACK_QUEUE'] = settings.CALLBACK_QUEUE
|
||||
env['CALLBACK_CONNECTION'] = settings.BROKER_URL
|
||||
if getattr(settings, 'JOB_CALLBACK_DEBUG', False):
|
||||
|
Loading…
Reference in New Issue
Block a user