| @@ -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 | 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. | 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. | ||||
| @@ -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. | # 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. | # 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. | # This likely gets overriden elsewhere. | ||||
| matrix_homeserver_container_url: "" | |||||
| matrix_jitsi_enabled: "" | |||||
| # Specifies where the homeserver's Federation API is on the container network. | # 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. | # Where this is depends on whether there's a reverse-proxy in front of the homeserver, which homeserver it is, etc. | ||||
| @@ -5,21 +5,6 @@ | |||||
| msg: "You need to set a valid homeserver implementation in `matrix_homeserver_implementation`" | msg: "You need to set a valid homeserver implementation in `matrix_homeserver_implementation`" | ||||
| when: "matrix_homeserver_implementation not in ['synapse', 'dendrite', 'conduit']" | 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 | - name: (Deprecation) Catch and report renamed settings | ||||
| ansible.builtin.fail: | ansible.builtin.fail: | ||||
| msg: >- | msg: >- | ||||
| @@ -66,20 +51,6 @@ | |||||
| - "{{ matrix_server_fqn_element }}" | - "{{ matrix_server_fqn_element }}" | ||||
| when: "item != item | lower" | 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) | - name: Fail if encountering usage of removed role (mx-puppet-skype) | ||||
| ansible.builtin.fail: | ansible.builtin.fail: | ||||
| msg: >- | msg: >- | ||||
| @@ -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_brewery_muc: jvbbrewery | ||||
| matrix_jitsi_jvb_rtp_udp_port: 10000 | matrix_jitsi_jvb_rtp_udp_port: 10000 | ||||
| matrix_jitsi_jvb_rtp_tcp_port: 4443 | 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. | # 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. | # This configuration gets appended to the final configuration that Jitsi JVB uses. | ||||
| @@ -16,7 +16,7 @@ JVB_OCTO_PUBLIC_ADDRESS | |||||
| JVB_OCTO_BIND_PORT | JVB_OCTO_BIND_PORT | ||||
| JVB_OCTO_REGION | JVB_OCTO_REGION | ||||
| JVB_WS_DOMAIN | 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 }} | PUBLIC_URL={{ matrix_jitsi_web_public_url }} | ||||
| SENTRY_DSN="${JVB_SENTRY_DSN:-0}" | SENTRY_DSN="${JVB_SENTRY_DSN:-0}" | ||||
| SENTRY_ENVIRONMENT | SENTRY_ENVIRONMENT | ||||