Add messaging tls support into macros
Change-Id: I9fc8eaff2e6c9538b711be7a85af7d9777c3ccbb
This commit is contained in:
parent
3c31c9b488
commit
d5eac9e469
|
@ -5,4 +5,12 @@
|
|||
[oslo_messaging_notifications]
|
||||
{%- endif %}
|
||||
transport_url=rabbit://{{ rabbitmq.user }}:{{ rabbitmq.password }}@{{ address('rabbitmq', rabbitmq.port) }}
|
||||
|
||||
{% if security.tls.enabled and rabbitmq.tls.enabled %}
|
||||
[oslo_messaging_rabbit]
|
||||
kombu_ssl_version="TLSv1_2"
|
||||
rabbit_use_ssl = true
|
||||
kombu_ssl_ca_certs = /opt/ccp/etc/tls/ca.pem
|
||||
{% endif %}
|
||||
|
||||
{%- endmacro %}
|
||||
|
|
Loading…
Reference in New Issue