Merge "Fix the memcache location value in horizon local settings"
This commit is contained in:
commit
bceaec7bc7
@ -136,7 +136,7 @@ CACHES = {
|
|||||||
{% if orchestration_engine == 'KUBERNETES' %}
|
{% if orchestration_engine == 'KUBERNETES' %}
|
||||||
'LOCATION': '{{ memcached_servers }}'
|
'LOCATION': '{{ memcached_servers }}'
|
||||||
{% else %}
|
{% else %}
|
||||||
'LOCATION': '{% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}'
|
'LOCATION': [{% for host in groups['memcached'] %}'{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}'{% if not loop.last %},{% endif %}{% endfor %}]
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user