mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Merge pull request #1235 from AlanCoding/rm_TOWER_HOST
remove TOWER_HOST from job env vars
This commit is contained in:
commit
c2446beb6e
@ -1166,7 +1166,6 @@ class RunJob(BaseTask):
|
||||
if not kwargs.get('isolated'):
|
||||
env['ANSIBLE_CALLBACK_PLUGINS'] = plugin_path
|
||||
env['ANSIBLE_STDOUT_CALLBACK'] = 'awx_display'
|
||||
env['TOWER_HOST'] = settings.TOWER_URL_BASE
|
||||
env['AWX_HOST'] = settings.TOWER_URL_BASE
|
||||
env['CACHE'] = settings.CACHES['default']['LOCATION'] if 'LOCATION' in settings.CACHES['default'] else ''
|
||||
|
||||
|
||||
@ -62,3 +62,6 @@
|
||||
* Saved Launch-time configurations feature - added WFJT node promptable fields to schedules,
|
||||
added `extra_data` to WFJT nodes, added "schedule this job" endpoint.
|
||||
[[#169](https://github.com/ansible/awx/issues/169)]
|
||||
* Removed `TOWER_HOST` as a default environment variable in job running environment
|
||||
due to conflict with tower credential type. Playbook authors should replace their
|
||||
use with `AWX_HOST`. [[#1727](https://github.com/ansible/awx/issues/1727)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user