Merge "Refactor memcached_servers"

This commit is contained in:
Zuul 2020-03-14 14:57:02 +00:00 committed by Gerrit Code Review
commit 16fe0db40b
4 changed files with 7 additions and 4 deletions

View File

@ -257,6 +257,9 @@ keystone_external_ssl: false
# External SSL forwarding proto # External SSL forwarding proto
keystone_secure_proxy_ssl_header: HTTP_X_FORWARDED_PROTO keystone_secure_proxy_ssl_header: HTTP_X_FORWARDED_PROTO
## Override memcached_servers
keystone_memcached_servers: "{{ memcached_servers }}"
## Caching ## Caching
# This is a list of strings, each string contains a cache server's # This is a list of strings, each string contains a cache server's
# information (IP:port for example) # information (IP:port for example)

View File

@ -20,7 +20,7 @@
state: "retrieve" state: "retrieve"
file_mode: "{{ item.file_mode }}" file_mode: "{{ item.file_mode }}"
dir_mode: "{{ item.dir_mode }}" dir_mode: "{{ item.dir_mode }}"
server: "{{ memcached_servers }}" server: "{{ keystone_memcached_servers }}"
encrypt_string: "{{ memcached_encryption_key }}" encrypt_string: "{{ memcached_encryption_key }}"
with_items: with_items:
- { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert", file_mode: "0640", dir_mode: "0750" } - { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert", file_mode: "0640", dir_mode: "0750" }

View File

@ -18,7 +18,7 @@
name: "{{ item.name }}" name: "{{ item.name }}"
file_path: "{{ item.src }}" file_path: "{{ item.src }}"
state: "present" state: "present"
server: "{{ memcached_servers }}" server: "{{ keystone_memcached_servers }}"
encrypt_string: "{{ memcached_encryption_key }}" encrypt_string: "{{ memcached_encryption_key }}"
with_items: with_items:
- { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert" } - { src: "{{ keystone_idp.certfile }}", name: "keystone_idp_cert" }

View File

@ -13,13 +13,13 @@
<StorageService type="MEMCACHE" id="mc" prefix="shibboleth2:"> <StorageService type="MEMCACHE" id="mc" prefix="shibboleth2:">
<Hosts> <Hosts>
{{ memcached_servers }} {{ keystone_memcached_servers }}
</Hosts> </Hosts>
</StorageService> </StorageService>
<StorageService type="MEMCACHE" id="mc-ctx" prefix="shibboleth2:" buildMap="1"> <StorageService type="MEMCACHE" id="mc-ctx" prefix="shibboleth2:" buildMap="1">
<Hosts> <Hosts>
{{ memcached_servers }} {{ keystone_memcached_servers }}
</Hosts> </Hosts>
</StorageService> </StorageService>