Fix glance backend TLS configuration task
Fix glance configuration task to create the backend PEM only on hosts with glance service enabled. Change-Id: I641c51761a99828854aafcc1e7354d6932d86659
This commit is contained in:
parent
c3bda3f6cf
commit
ac20f9bd79
@ -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 @@
|
|||||||
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user