mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Merge pull request #3583 from kumy/patch-1
Use variables to set rabbitmq host and port Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -13,9 +13,9 @@ DATABASES = {
|
|||||||
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
|
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
|
||||||
"{{ rabbitmq_user }}",
|
"{{ rabbitmq_user }}",
|
||||||
"{{ rabbitmq_password }}",
|
"{{ rabbitmq_password }}",
|
||||||
"{{ rabbitmq_host }}",
|
"{{ rabbitmq_host | default('rabbitmq')}}",
|
||||||
"{{ rabbitmq_port }}",
|
"{{ rabbitmq_port }}",
|
||||||
"awx")
|
"{{ rabbitmq_default_vhost }}")
|
||||||
|
|
||||||
CHANNEL_LAYERS = {
|
CHANNEL_LAYERS = {
|
||||||
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
||||||
|
|||||||
Reference in New Issue
Block a user