Fix magnum [DEFAULT] configuration.

Change-Id: Icef8d2ec95629a78ba761778df2f92ef9494d166
Closes-Bug: #1657894
This commit is contained in:
Cornelio Hopmann 2017-01-19 23:18:07 +01:00
parent 4b5b14948b
commit 2a9ecd84e6

View File

@ -3,6 +3,8 @@ debug = {{ magnum_logging_debug }}
state_path = /var/lib/magnum
log_dir = /var/log/kolla/magnum
host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
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 %}
{% if service_name == 'magnum-api' %}