Merge "Fix skydive analyzer "etcd" config"

This commit is contained in:
Jenkins 2017-07-06 03:40:18 +00:00 committed by Gerrit Code Review
commit abe31b4e04

View File

@ -17,13 +17,13 @@ openstack:
etcd: etcd:
client_timeout: 100 client_timeout: 100
{% if enable_etcd == "yes" %} {% if enable_etcd == "yes" %}
embeded: no embedded: false
servers: servers:
{% for host in groups['etcd'] %} {% for host in groups['etcd'] %}
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }} - http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
{% endfor %} {% endfor %}
{% else %} {% else %}
embeded: yes embedded: true
servers: servers:
{% for host in groups['skydive-analyzer'] %} {% for host in groups['skydive-analyzer'] %}
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }} - http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}