Merge "Configure Keystone to get a list of all HAproxy instances"

This commit is contained in:
Zuul 2018-04-22 22:22:46 +00:00 committed by Gerrit Code Review
commit be3d4bb3b3

View File

@ -49,6 +49,9 @@ keystone_external_ssl: "{{ openstack_external_ssl }}"
keystone_cache_servers: "[{% for host in groups['memcached_all'] %}\"{{ hostvars[host]['container_address'] }}:{{ memcached_port }}\"{% if not loop.last %},{% endif %}{% endfor %}]"
keystone_service_in_ldap: "{{ service_ldap_backend_enabled }}"
# Hosts allowed to override remote IP with X-Forwarded-For
keystone_set_real_ip_from: "{{ groups['haproxy_all'] | map('extract', hostvars, 'container_address') | list }}"
# Ensure that the package state matches the global setting
keystone_package_state: "{{ package_state }}"