Sfoglia il codice sorgente

rename variable

pull/2166/head
Warren Bailey 3 anni fa
parent
commit
61c7a2bb3e
5 ha cambiato i file con 7 aggiunte e 34 eliminazioni
  1. +2
    -2
      docs/configuring-playbook-jitsi.md
  2. +1
    -1
      roles/matrix-base/defaults/main.yml
  3. +0
    -29
      roles/matrix-base/tasks/sanity_check.yml
  4. +3
    -1
      roles/matrix-jitsi/defaults/main.yml
  5. +1
    -1
      roles/matrix-jitsi/templates/jvb/env.j2

+ 2
- 2
docs/configuring-playbook-jitsi.md Vedi File

@@ -142,8 +142,8 @@ For this role to work you will need an additional section in the ansible hosts f

The followings variables will also need to be set

``` yam,l
matrix_jitsi_jvb_server_ip: '<ip address of the jvb host>'
``` yaml
matrix_jitsi_jvb_server_id: '<ip address of the jvb host>'
```

This will provision a single JVB instance to that host which will then register itself with the prosody service and make itself available for jicofo to route conferences too.


+ 1
- 1
roles/matrix-base/defaults/main.yml Vedi File

@@ -142,7 +142,7 @@ matrix_homeserver_url: "https://{{ matrix_server_fqn_matrix }}"
# Specifies where the homeserver's Client-Server API is on the container network.
# Where this is depends on whether there's a reverse-proxy in front of the homeserver, which homeserver it is, etc.
# This likely gets overriden elsewhere.
matrix_homeserver_container_url: ""
matrix_jitsi_enabled: ""

# Specifies where the homeserver's Federation API is on the container network.
# Where this is depends on whether there's a reverse-proxy in front of the homeserver, which homeserver it is, etc.


+ 0
- 29
roles/matrix-base/tasks/sanity_check.yml Vedi File

@@ -5,21 +5,6 @@
msg: "You need to set a valid homeserver implementation in `matrix_homeserver_implementation`"
when: "matrix_homeserver_implementation not in ['synapse', 'dendrite', 'conduit']"

# We generally support Ansible 2.7.1 and above.
- name: Fail if running on Ansible < 2.7.1
ansible.builtin.fail:
msg: "You are running on Ansible {{ ansible_version.string }}, which is not supported. See our guide about Ansible: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/ansible.md"
when:
- "(ansible_version.major < 2) or (ansible_version.major == 2 and ansible_version.minor < 7) or (ansible_version.major == 2 and ansible_version.minor == 7 and ansible_version.revision < 1)"

# Though we do not support Ansible 2.9.6 which is buggy
- name: Fail if running on Ansible 2.9.6 on Ubuntu
ansible.builtin.fail:
msg: "You are running on Ansible {{ ansible_version.string }}, which is not supported. See our guide about Ansible: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/ansible.md"
when:
- ansible_distribution == 'Ubuntu'
- "ansible_version.major == 2 and ansible_version.minor == 9 and ansible_version.revision == 6"

- name: (Deprecation) Catch and report renamed settings
ansible.builtin.fail:
msg: >-
@@ -66,20 +51,6 @@
- "{{ matrix_server_fqn_element }}"
when: "item != item | lower"

- name: Fail if using python2 on Archlinux
ansible.builtin.fail:
msg: "Detected that you're using python2 when installing onto Archlinux. Archlinux by default only supports python3."
when:
- ansible_distribution == 'Archlinux'
- ansible_python.version.major != 3

- name: Fail if architecture is set incorrectly
ansible.builtin.fail:
msg: "Detected that variable matrix_architecture {{ matrix_architecture }} appears to be set incorrectly. See docs/alternative-architectures.md. Server appears to be {{ ansible_architecture }}."
when: (ansible_architecture == "x86_64" and matrix_architecture != "amd64") or
(ansible_architecture == "aarch64" and matrix_architecture != "arm64") or
(ansible_architecture.startswith("armv") and matrix_architecture != "arm32")

- name: Fail if encountering usage of removed role (mx-puppet-skype)
ansible.builtin.fail:
msg: >-


+ 3
- 1
roles/matrix-jitsi/defaults/main.yml Vedi File

@@ -229,7 +229,9 @@ matrix_jitsi_jvb_stun_servers: ['meet-jit-si-turnrelay.jitsi.net:443']
matrix_jitsi_jvb_brewery_muc: jvbbrewery
matrix_jitsi_jvb_rtp_udp_port: 10000
matrix_jitsi_jvb_rtp_tcp_port: 4443
matrix_jitsi_jvb_server_ip: 'jvb-1'
matrix_jitsi_jvb_container_colibri_ws_host_bind_port: 9090
matrix_jitsi_jvb_server_id: 'jvb-1'


# Custom configuration to be injected into `custom-sip-communicator.properties`, passed to Jitsi JVB.
# This configuration gets appended to the final configuration that Jitsi JVB uses.


+ 1
- 1
roles/matrix-jitsi/templates/jvb/env.j2 Vedi File

@@ -16,7 +16,7 @@ JVB_OCTO_PUBLIC_ADDRESS
JVB_OCTO_BIND_PORT
JVB_OCTO_REGION
JVB_WS_DOMAIN
JVB_WS_SERVER_ID={{ matrix_jitsi_jvb_server_ip }}
JVB_WS_SERVER_ID={{ matrix_jitsi_jvb_server_id }}
PUBLIC_URL={{ matrix_jitsi_web_public_url }}
SENTRY_DSN="${JVB_SENTRY_DSN:-0}"
SENTRY_ENVIRONMENT


Caricamento…
Annulla
Salva