mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Initial migration of rabbitmq -> redis for k8s installs
This commit is contained in:
committed by
Ryan Petrello
parent
e94bb44082
commit
45ce6d794e
@@ -12,14 +12,12 @@ DATABASES = {
|
||||
},
|
||||
}
|
||||
}
|
||||
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
|
||||
"{{ rabbitmq_user }}",
|
||||
"{{ rabbitmq_password }}",
|
||||
"localhost",
|
||||
"5672",
|
||||
"awx")
|
||||
|
||||
BROKER_URL = 'redis://{}:{}/'.format(
|
||||
"{{ kubernetes_redis_hostname }}",
|
||||
"{{ kubernetes_redis_port }}",)
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
||||
'ROUTING': 'awx.main.routing.channel_routing',
|
||||
'CONFIG': {'url': BROKER_URL}}
|
||||
}
|
||||
'default': {'BACKEND': 'awx.main.channels.RedisGroupBroadcastChannelLayer',
|
||||
'CONFIG': {'hosts': [("{{ kubernetes_redis_hostname }}", {{ kubernetes_redis_port|int }})]}}
|
||||
}
|
||||
Reference in New Issue
Block a user