Skip to content
Snippets Groups Projects
Commit 09dbb611 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix haproxy with memcached enabled"

parents 83ec76cb e44ff538
No related branches found
No related tags found
No related merge requests found
......@@ -912,6 +912,7 @@ listen memcached
bind {{ kolla_internal_vip_address }}:{{ memcached_port }}
{% for host in groups['memcached'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }} check inter 2000 rise 2 fall 5 {% if not loop.first %}backup{% endif %}
{% endfor %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment