| @@ -9,6 +9,7 @@ skip_list: | |||||
| - schema | - schema | ||||
| - command-instead-of-shell | - command-instead-of-shell | ||||
| - role-name | - role-name | ||||
| - var-naming[no-role-prefix] | |||||
| # We frequently load configuration from a template (into a variable), then merge that with another variable (configuration extension) | # We frequently load configuration from a template (into a variable), then merge that with another variable (configuration extension) | ||||
| # before finally dumping it to a file. | # before finally dumping it to a file. | ||||
| - template-instead-of-copy | - template-instead-of-copy | ||||
| @@ -21,6 +21,6 @@ jobs: | |||||
| - name: Check out | - name: Check out | ||||
| uses: actions/checkout@v3 | uses: actions/checkout@v3 | ||||
| - name: Run ansible-lint | - name: Run ansible-lint | ||||
| uses: ansible-community/ansible-lint-action@v6.16.0 | |||||
| uses: ansible-community/ansible-lint-action@v6.17.0 | |||||
| with: | with: | ||||
| path: roles/custom | path: roles/custom | ||||
| @@ -2,7 +2,9 @@ | |||||
| # If you'd rather use a local IP here, make sure to set up `matrix_coturn_turn_external_ip_address`. | # If you'd rather use a local IP here, make sure to set up `matrix_coturn_turn_external_ip_address`. | ||||
| # | # | ||||
| # To connect using a non-root user (and elevate to root with sudo later), | # To connect using a non-root user (and elevate to root with sudo later), | ||||
| # replace `ansible_ssh_user=root` with something like this: `ansible_ssh_user=username become=true become_user=root` | |||||
| # replace `ansible_ssh_user=root` with something like this: `ansible_ssh_user=username become=true become_user=root`. | |||||
| # If sudo requires a password, either add `become_password=PASSWORD_HERE` to the host line | |||||
| # or tell Ansible to ask you for the password interactively by adding a `--ask-become-pass` (`-K`) flag to all `ansible-playbook` (or `just`) commands. | |||||
| # | # | ||||
| # For improved Ansible performance, SSH pipelining is enabled by default in `ansible.cfg`. | # For improved Ansible performance, SSH pipelining is enabled by default in `ansible.cfg`. | ||||
| # If this causes SSH connection troubles, disable it by adding `ansible_ssh_pipelining=False` | # If this causes SSH connection troubles, disable it by adding `ansible_ssh_pipelining=False` | ||||
| @@ -35,12 +35,12 @@ | |||||
| version: 6.1.0 | version: 6.1.0 | ||||
| name: geerlingguy.docker | name: geerlingguy.docker | ||||
| - src: git+https://gitlab.com/etke.cc/roles/grafana.git | - src: git+https://gitlab.com/etke.cc/roles/grafana.git | ||||
| version: v10.0.1-0 | |||||
| version: v10.0.2-1 | |||||
| - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git | - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.git | ||||
| version: v8615-0 | |||||
| version: v8615-2 | |||||
| name: jitsi | name: jitsi | ||||
| - src: git+https://gitlab.com/etke.cc/roles/ntfy.git | - src: git+https://gitlab.com/etke.cc/roles/ntfy.git | ||||
| version: v2.5.0-0 | |||||
| version: v2.6.2-0 | |||||
| - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus.git | - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-prometheus.git | ||||
| version: v2.45.0-0 | version: v2.45.0-0 | ||||
| name: prometheus | name: prometheus | ||||
| @@ -111,7 +111,7 @@ matrix_beeper_linkedin_configuration_extension: "{{ matrix_beeper_linkedin_confi | |||||
| matrix_beeper_linkedin_configuration: "{{ matrix_beeper_linkedin_configuration_yaml | from_yaml | combine(matrix_beeper_linkedin_configuration_extension, recursive=True) }}" | matrix_beeper_linkedin_configuration: "{{ matrix_beeper_linkedin_configuration_yaml | from_yaml | combine(matrix_beeper_linkedin_configuration_extension, recursive=True) }}" | ||||
| matrix_beeper_linkedin_registration_yaml: | | matrix_beeper_linkedin_registration_yaml: | | ||||
| id: linkedin | |||||
| id: beeper_linkedin | |||||
| url: {{ matrix_beeper_linkedin_appservice_address }} | url: {{ matrix_beeper_linkedin_appservice_address }} | ||||
| as_token: "{{ matrix_beeper_linkedin_appservice_token }}" | as_token: "{{ matrix_beeper_linkedin_appservice_token }}" | ||||
| hs_token: "{{ matrix_beeper_linkedin_homeserver_token }}" | hs_token: "{{ matrix_beeper_linkedin_homeserver_token }}" | ||||
| @@ -10,7 +10,7 @@ matrix_hookshot_container_image_self_build: false | |||||
| matrix_hookshot_container_image_self_build_repo: "https://github.com/matrix-org/matrix-hookshot.git" | matrix_hookshot_container_image_self_build_repo: "https://github.com/matrix-org/matrix-hookshot.git" | ||||
| matrix_hookshot_container_image_self_build_branch: "{{ 'main' if matrix_hookshot_version == 'latest' else matrix_hookshot_version }}" | matrix_hookshot_container_image_self_build_branch: "{{ 'main' if matrix_hookshot_version == 'latest' else matrix_hookshot_version }}" | ||||
| matrix_hookshot_version: 4.3.0 | |||||
| matrix_hookshot_version: 4.4.0 | |||||
| matrix_hookshot_docker_image: "{{ matrix_hookshot_docker_image_name_prefix }}halfshot/matrix-hookshot:{{ matrix_hookshot_version }}" | matrix_hookshot_docker_image: "{{ matrix_hookshot_docker_image_name_prefix }}halfshot/matrix-hookshot:{{ matrix_hookshot_version }}" | ||||
| matrix_hookshot_docker_image_name_prefix: "{{ 'localhost/' if matrix_hookshot_container_image_self_build else matrix_container_global_registry_prefix }}" | matrix_hookshot_docker_image_name_prefix: "{{ 'localhost/' if matrix_hookshot_container_image_self_build else matrix_container_global_registry_prefix }}" | ||||
| @@ -10,7 +10,7 @@ matrix_client_element_container_image_self_build_repo: "https://github.com/vecto | |||||
| # - https://github.com/vector-im/element-web/issues/19544 | # - https://github.com/vector-im/element-web/issues/19544 | ||||
| matrix_client_element_container_image_self_build_low_memory_system_patch_enabled: "{{ ansible_memtotal_mb < 4096 }}" | matrix_client_element_container_image_self_build_low_memory_system_patch_enabled: "{{ ansible_memtotal_mb < 4096 }}" | ||||
| matrix_client_element_version: v1.11.34 | |||||
| matrix_client_element_version: v1.11.35 | |||||
| matrix_client_element_docker_image: "{{ matrix_client_element_docker_image_name_prefix }}vectorim/element-web:{{ matrix_client_element_version }}" | matrix_client_element_docker_image: "{{ matrix_client_element_docker_image_name_prefix }}vectorim/element-web:{{ matrix_client_element_version }}" | ||||
| matrix_client_element_docker_image_name_prefix: "{{ 'localhost/' if matrix_client_element_container_image_self_build else matrix_container_global_registry_prefix }}" | matrix_client_element_docker_image_name_prefix: "{{ 'localhost/' if matrix_client_element_container_image_self_build else matrix_container_global_registry_prefix }}" | ||||
| matrix_client_element_docker_image_force_pull: "{{ matrix_client_element_docker_image.endswith(':latest') }}" | matrix_client_element_docker_image_force_pull: "{{ matrix_client_element_docker_image.endswith(':latest') }}" | ||||
| @@ -8,7 +8,7 @@ matrix_coturn_container_image_self_build_repo: "https://github.com/coturn/coturn | |||||
| matrix_coturn_container_image_self_build_repo_version: "docker/{{ matrix_coturn_version }}" | matrix_coturn_container_image_self_build_repo_version: "docker/{{ matrix_coturn_version }}" | ||||
| matrix_coturn_container_image_self_build_repo_dockerfile_path: "docker/coturn/alpine/Dockerfile" | matrix_coturn_container_image_self_build_repo_dockerfile_path: "docker/coturn/alpine/Dockerfile" | ||||
| matrix_coturn_version: 4.6.2-r3 | |||||
| matrix_coturn_version: 4.6.2-r4 | |||||
| matrix_coturn_docker_image: "{{ matrix_coturn_docker_image_name_prefix }}coturn/coturn:{{ matrix_coturn_version }}-alpine" | matrix_coturn_docker_image: "{{ matrix_coturn_docker_image_name_prefix }}coturn/coturn:{{ matrix_coturn_version }}-alpine" | ||||
| matrix_coturn_docker_image_name_prefix: "{{ 'localhost/' if matrix_coturn_container_image_self_build else matrix_container_global_registry_prefix }}" | matrix_coturn_docker_image_name_prefix: "{{ 'localhost/' if matrix_coturn_container_image_self_build else matrix_container_global_registry_prefix }}" | ||||
| matrix_coturn_docker_image_force_pull: "{{ matrix_coturn_docker_image.endswith(':latest') }}" | matrix_coturn_docker_image_force_pull: "{{ matrix_coturn_docker_image.endswith(':latest') }}" | ||||
| @@ -10,7 +10,7 @@ matrix_dendrite_container_image_self_build_repo: "https://github.com/matrix-org/ | |||||
| matrix_dendrite_docker_image_path: "matrixdotorg/dendrite-monolith" | matrix_dendrite_docker_image_path: "matrixdotorg/dendrite-monolith" | ||||
| matrix_dendrite_docker_image: "{{ matrix_dendrite_docker_image_name_prefix }}{{ matrix_dendrite_docker_image_path }}:{{ matrix_dendrite_docker_image_tag }}" | matrix_dendrite_docker_image: "{{ matrix_dendrite_docker_image_name_prefix }}{{ matrix_dendrite_docker_image_path }}:{{ matrix_dendrite_docker_image_tag }}" | ||||
| matrix_dendrite_docker_image_name_prefix: "{{ 'localhost/' if matrix_dendrite_container_image_self_build else matrix_container_global_registry_prefix }}" | matrix_dendrite_docker_image_name_prefix: "{{ 'localhost/' if matrix_dendrite_container_image_self_build else matrix_container_global_registry_prefix }}" | ||||
| matrix_dendrite_docker_image_tag: "v0.12.0" | |||||
| matrix_dendrite_docker_image_tag: "v0.13.1" | |||||
| matrix_dendrite_docker_image_force_pull: "{{ matrix_dendrite_docker_image.endswith(':latest') }}" | matrix_dendrite_docker_image_force_pull: "{{ matrix_dendrite_docker_image.endswith(':latest') }}" | ||||
| matrix_dendrite_base_path: "{{ matrix_base_data_path }}/dendrite" | matrix_dendrite_base_path: "{{ matrix_base_data_path }}/dendrite" | ||||
| @@ -7,7 +7,7 @@ matrix_dynamic_dns_enabled: true | |||||
| # The dynamic dns daemon interval | # The dynamic dns daemon interval | ||||
| matrix_dynamic_dns_daemon_interval: '300' | matrix_dynamic_dns_daemon_interval: '300' | ||||
| matrix_dynamic_dns_version: v3.10.0-ls125 | |||||
| matrix_dynamic_dns_version: v3.10.0-ls126 | |||||
| # The docker container to use when in mode | # The docker container to use when in mode | ||||
| matrix_dynamic_dns_docker_image: "{{ matrix_dynamic_dns_docker_image_name_prefix }}linuxserver/ddclient:{{ matrix_dynamic_dns_version }}" | matrix_dynamic_dns_docker_image: "{{ matrix_dynamic_dns_docker_image_name_prefix }}linuxserver/ddclient:{{ matrix_dynamic_dns_version }}" | ||||
| @@ -4,7 +4,7 @@ | |||||
| matrix_sliding_sync_enabled: true | matrix_sliding_sync_enabled: true | ||||
| matrix_sliding_sync_version: v0.99.1 | |||||
| matrix_sliding_sync_version: v0.99.3 | |||||
| matrix_sliding_sync_scheme: https | matrix_sliding_sync_scheme: https | ||||
| @@ -4,7 +4,7 @@ | |||||
| matrix_synapse_enabled: true | matrix_synapse_enabled: true | ||||
| matrix_synapse_version: v1.86.0 | |||||
| matrix_synapse_version: v1.87.0 | |||||
| matrix_synapse_username: '' | matrix_synapse_username: '' | ||||
| matrix_synapse_uid: '' | matrix_synapse_uid: '' | ||||
| @@ -72,12 +72,13 @@ | |||||
| owner: "{{ matrix_synapse_uid }}" | owner: "{{ matrix_synapse_uid }}" | ||||
| group: "{{ matrix_synapse_gid }}" | group: "{{ matrix_synapse_gid }}" | ||||
| mode: 0640 | mode: 0640 | ||||
| register: matrix_synapse_container_image_customizations_dockerfile_result | |||||
| - name: Ensure customized Docker image for Synapse is built | - name: Ensure customized Docker image for Synapse is built | ||||
| community.docker.docker_image: | community.docker.docker_image: | ||||
| name: "{{ matrix_synapse_docker_image_customized }}" | name: "{{ matrix_synapse_docker_image_customized }}" | ||||
| source: build | source: build | ||||
| force_source: "{{ matrix_synapse_docker_image_customized_force_source }}" | |||||
| force_source: "{{ matrix_synapse_container_image_customizations_dockerfile_result.changed or matrix_synapse_docker_image_customized_force_source }}" | |||||
| build: | build: | ||||
| dockerfile: Dockerfile | dockerfile: Dockerfile | ||||
| path: "{{ matrix_synapse_customized_docker_src_files_path }}" | path: "{{ matrix_synapse_customized_docker_src_files_path }}" | ||||
| @@ -5,11 +5,6 @@ worker_name: {{ matrix_synapse_worker_details.name }} | |||||
| worker_daemonize: false | worker_daemonize: false | ||||
| worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config | worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config | ||||
| {% if matrix_synapse_replication_listener_enabled %} | |||||
| worker_replication_host: matrix-synapse | |||||
| worker_replication_http_port: {{ matrix_synapse_replication_http_port }} | |||||
| {% endif %} | |||||
| {% set http_resources = [] %} | {% set http_resources = [] %} | ||||
| {% if matrix_synapse_worker_details.type == 'user_dir' %} | {% if matrix_synapse_worker_details.type == 'user_dir' %} | ||||
| @@ -153,7 +153,6 @@ matrix_synapse_workers_generic_worker_endpoints: | |||||
| - ^/_matrix/client/v1/rooms/.*/hierarchy$ | - ^/_matrix/client/v1/rooms/.*/hierarchy$ | ||||
| - ^/_matrix/client/(v1|unstable)/rooms/.*/relations/ | - ^/_matrix/client/(v1|unstable)/rooms/.*/relations/ | ||||
| - ^/_matrix/client/v1/rooms/.*/threads$ | - ^/_matrix/client/v1/rooms/.*/threads$ | ||||
| - ^/_matrix/client/unstable/org.matrix.msc2716/rooms/.*/batch_send$ | |||||
| - ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ | - ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ | ||||
| - ^/_matrix/client/(r0|v3|unstable)/account/3pid$ | - ^/_matrix/client/(r0|v3|unstable)/account/3pid$ | ||||
| - ^/_matrix/client/(r0|v3|unstable)/account/whoami$ | - ^/_matrix/client/(r0|v3|unstable)/account/whoami$ | ||||