mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
Do not accept enterprise licenses in some cases.
This commit makes it so that enterprise licenses are rejected in HA environments if there is no active MongoDB server. Additionally, it suppresses trying to connect to MongoDB in cases where it is not present or meaningful.
This commit is contained in:
@@ -13,6 +13,11 @@ from split_settings.tools import optional, include
|
||||
# Load default settings.
|
||||
from defaults import * # NOQA
|
||||
|
||||
|
||||
MONGO_HOST = '127.0.0.1'
|
||||
MONGO_PORT = 27017
|
||||
MONGO_USERNAME = None
|
||||
MONGO_PASSWORD = None
|
||||
MONGO_DB = 'system_tracking_dev'
|
||||
|
||||
# Disable capturing all SQL queries when running celeryd in development.
|
||||
|
||||
Reference in New Issue
Block a user