Merge "Fix magnum [DEFAULT] configuration."
This commit is contained in:
commit
97712ea590
@ -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' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user