Sfoglia il codice sorgente

Add matrix_client_commet_scheme, like every other web client role has

The Commet role was the only playbook-installed web client without a
`_scheme` variable to go with its `_hostname` and `_path_prefix`, so
anything wishing to build Commet's public URL had to reach for
`matrix_playbook_ssl_enabled` itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pull/5517/head
Slavi Pantaleev 1 giorno fa
parent
commit
831fb228d9
2 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. +2
    -0
      group_vars/matrix_servers
  2. +3
    -0
      roles/custom/matrix-client-commet/defaults/main.yml

+ 2
- 0
group_vars/matrix_servers Vedi File

@@ -4718,6 +4718,8 @@ matrix_client_element_element_call_url: "{{ matrix_element_call_public_url if ma

matrix_client_commet_enabled: false

matrix_client_commet_scheme: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}"

matrix_client_commet_hostname: "commet.{{ matrix_domain }}"

matrix_client_commet_container_http_host_bind_port: "{{ (matrix_playbook_service_host_bind_interface_prefix ~ '8766') if matrix_playbook_service_host_bind_interface_prefix else '' }}"


+ 3
- 0
roles/custom/matrix-client-commet/defaults/main.yml Vedi File

@@ -10,6 +10,9 @@ matrix_client_commet_enabled: true
# The git branch, tag, or SHA to build from
matrix_client_commet_version: "main"

# The scheme used for serving Commet.
matrix_client_commet_scheme: https

# The hostname at which Commet is served (e.g. commet.example.com)
matrix_client_commet_hostname: ""



Caricamento…
Annulla
Salva