simplify the config file using a variable

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-04-01 11:47:30 +02:00
parent 5a85ca9211
commit 394b92cb19
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -5,11 +5,7 @@ amqp_url = "amqps://ipa{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.
passive_declares = true
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"
{% else %}
topic_prefix = "org.fedoraproject.prod"
{% endif %}
topic_prefix = "org.fedoraproject.{{ env_short }}"
# Authentication is TLS-based