Merge "Fix magnum [DEFAULT] configuration."

This commit is contained in:
Jenkins 2017-01-24 12:41:00 +00:00 committed by Gerrit Code Review
commit 97712ea590

View File

@ -3,6 +3,8 @@ debug = {{ magnum_logging_debug }}
state_path = /var/lib/magnum state_path = /var/lib/magnum
log_dir = /var/log/kolla/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 %} 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' %} {% if service_name == 'magnum-api' %}