simplify the config file using a variable
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
5a85ca9211
commit
394b92cb19
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue