mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 22:37:41 -02:30
Disable autodiscovery except for docker-compose (#11142)
This commit is contained in:
@@ -263,6 +263,10 @@ CSRF_COOKIE_SECURE = True
|
||||
# Limit CSRF cookies to browser sessions
|
||||
CSRF_COOKIE_AGE = None
|
||||
|
||||
# Auto-discover new instances that appear on receptor mesh
|
||||
# used for docker-compose environment, unsupported
|
||||
MESH_AUTODISCOVERY_ENABLED = False
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'NAME': 'default',
|
||||
|
||||
@@ -69,6 +69,9 @@ AWX_ROLES_ENABLED = True
|
||||
PENDO_TRACKING_STATE = "off"
|
||||
INSIGHTS_TRACKING_STATE = False
|
||||
|
||||
# auto-discover receptor-* execution nodes
|
||||
MESH_AUTODISCOVERY_ENABLED = True
|
||||
|
||||
# debug toolbar and swagger assume that requirements/requirements_dev.txt are installed
|
||||
|
||||
INSTALLED_APPS += ['rest_framework_swagger', 'debug_toolbar'] # NOQA
|
||||
|
||||
Reference in New Issue
Block a user