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

Merge "Fix glance backend TLS configuration task"

parents 688f839f ac20f9bd
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
- kolla_copy_ca_into_containers | bool or glance_enable_tls_backend | bool - kolla_copy_ca_into_containers | bool or glance_enable_tls_backend | bool
- name: Creating TLS backend PEM File - name: Creating TLS backend PEM File
vars:
glance_tls_proxy: "{{ glance_services['glance-tls-proxy'] }}"
assemble: assemble:
src: "{{ node_config_directory }}/glance-tls-proxy/" src: "{{ node_config_directory }}/glance-tls-proxy/"
dest: "{{ node_config_directory }}/glance-tls-proxy/glance-cert-and-key.pem" dest: "{{ node_config_directory }}/glance-tls-proxy/glance-cert-and-key.pem"
...@@ -48,7 +50,8 @@ ...@@ -48,7 +50,8 @@
remote_src: true remote_src: true
become: true become: true
when: 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 - name: Copying over config.json files for services
template: template:
......
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