mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
simplify the config file using a variable
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user