Merge "Fix glance backend TLS configuration task"

This commit is contained in:
Zuul 2020-06-02 13:08:09 +00:00 committed by Gerrit Code Review
commit 0ea426719d

View File

@ -40,6 +40,8 @@
- kolla_copy_ca_into_containers | bool or glance_enable_tls_backend | bool
- name: Creating TLS backend PEM File
vars:
glance_tls_proxy: "{{ glance_services['glance-tls-proxy'] }}"
assemble:
src: "{{ node_config_directory }}/glance-tls-proxy/"
dest: "{{ node_config_directory }}/glance-tls-proxy/glance-cert-and-key.pem"
@ -48,7 +50,8 @@
remote_src: true
become: true
when:
- glance_enable_tls_backend | bool
- glance_tls_proxy.enabled | bool
- glance_tls_proxy.host_in_groups | bool
- name: Copying over config.json files for services
template: