ansible/roles/git/hooks/templates/git-hooks-messaging.toml
Pierre-Yves Chibon 633866fdff git/hooks: install the fedora-messaging certs and config file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-20 11:20:57 +02:00

23 lines
823 B
TOML

# A sample configuration for fedora-messaging. This file is in the TOML format.
# For complete details on all configuration options, see the documentation.
# https://fedora-messaging.readthedocs.io/en/stable/configuration.html
# Broker address
amqp_url = "amqps://batcave{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
# This is used for migrating from fedmsg, and should not be used afterwards.
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"
{% else %}
topic_prefix = "org.fedoraproject.prod"
{% endif %}
[tls]
ca_cert = "/etc/pki/rabbitmq/git-hooks.ca"
keyfile = "/etc/pki/rabbitmq/git-hooks.key"
certfile = "/etc/pki/rabbitmq/git-hooks.crt"
[client_properties]
app = "git-hooks"