diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index f67965917e..d26afd68a9 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -909,9 +909,6 @@ SCM_EXCLUDE_EMPTY_GROUPS = False ACTIVITY_STREAM_ENABLED = True ACTIVITY_STREAM_ENABLED_FOR_INVENTORY_SYNC = False -# Internal API URL for use by inventory scripts and callback plugin. -INTERNAL_API_URL = 'http://127.0.0.1:%s' % DEVSERVER_DEFAULT_PORT - CALLBACK_QUEUE = "callback_tasks" SCHEDULER_QUEUE = "scheduler" diff --git a/awx/settings/production.py b/awx/settings/production.py index fb39719767..d114b20433 100644 --- a/awx/settings/production.py +++ b/awx/settings/production.py @@ -33,9 +33,6 @@ ALLOWED_HOSTS = [] # Production should only use minified JS for UI. USE_MINIFIED_JS = True -# URL used by inventory script and callback plugin to access API. -INTERNAL_API_URL = 'http://127.0.0.1:80' - # Absolute filesystem path to the directory for job status stdout # This directory should not be web-accessible JOBOUTPUT_ROOT = '/var/lib/awx/job_status/' diff --git a/installer/roles/image_build/files/settings.py b/installer/roles/image_build/files/settings.py index d1e38b3e89..507e9b4d7b 100644 --- a/installer/roles/image_build/files/settings.py +++ b/installer/roles/image_build/files/settings.py @@ -22,8 +22,6 @@ SECRET_KEY = get_secret() ALLOWED_HOSTS = ['*'] -INTERNAL_API_URL = 'http://awxweb:8052' - # Container environments don't like chroots AWX_PROOT_ENABLED = False diff --git a/installer/roles/kubernetes/templates/configmap.yml.j2 b/installer/roles/kubernetes/templates/configmap.yml.j2 index 485c5ccf4d..c657fa9df7 100644 --- a/installer/roles/kubernetes/templates/configmap.yml.j2 +++ b/installer/roles/kubernetes/templates/configmap.yml.j2 @@ -157,7 +157,6 @@ data: JOBOUTPUT_ROOT = '/var/lib/awx/job_status' SECRET_KEY = open('/etc/tower/SECRET_KEY', 'rb').read().strip() ALLOWED_HOSTS = ['*'] - INTERNAL_API_URL = 'http://127.0.0.1:8052' SERVER_EMAIL = 'root@localhost' DEFAULT_FROM_EMAIL = 'webmaster@localhost' EMAIL_SUBJECT_PREFIX = '[AWX] '