diff --git a/roles/odcs/base/templates/etc/odcs/config.py.j2 b/roles/odcs/base/templates/etc/odcs/config.py.j2 index e1d4d822ab..90d9e514db 100644 --- a/roles/odcs/base/templates/etc/odcs/config.py.j2 +++ b/roles/odcs/base/templates/etc/odcs/config.py.j2 @@ -153,3 +153,13 @@ class ProdConfiguration(BaseConfiguration): ALLOWED_SOURCES = {{ odcs_allowed_sources }} {% endif %} + CELERY_BROKER_URL = "amqps://odcs-private-queue{{ env_suffix }}@rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org/odcs" + CELERY_CONFIG = { + 'certfile': "{{private}}/files/rabbitmq/{{env}}/pki/issued/odcs-private-queue{{env_suffix}}.crt", + 'keyfile': "{{private}}/files/rabbitmq/{{env}}/pki/private/odcs-private-queue{{env_suffix}}.key", + } + +{% if odcs_celery_router_config %} + CELERY_ROUTER_CONFIG = {{ odcs_celery_router_config }} +{% endif %} +