Merge "Use rpc_transport_url in vitrage.conf"

This commit is contained in:
Zuul 2018-02-24 05:55:50 +00:00 committed by Gerrit Code Review
commit 6b67149f3e

View File

@ -11,7 +11,7 @@ log_file = /var/log/kolla/vitrage/vitrage-api.log
notifiers = {{ vitrage_notifiers|map(attribute='name')|join(',') }}
{% endif %}
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
transport_url = {{ rpc_transport_url }}
[api]
host = {{ api_interface_address }}