Skip to content

Commit 9a4187c

Browse files
Merge remote-tracking branch 'upstream/master' into gomatrixhosting-testing
2 parents 33c4714 + 11398dc commit 9a4187c

File tree

14 files changed

+67
-40
lines changed

14 files changed

+67
-40
lines changed

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ This is similar to the [EMnify/matrix-synapse-auto-deploy](https://github.com/EM
121121

122122
- this one **can be executed more than once** without causing trouble
123123

124-
- works on various distros: **CentOS** (7.0+), Debian-based distributions (**Debian** 9/Stretch+, **Ubuntu** 16.04+), **Archlinux**
124+
- works on various distros: **CentOS** (7.0+), Debian-based distributions (**Debian** 10/Buster+, **Ubuntu** 18.04+), **Archlinux**
125125

126126
- this one installs everything in a single directory (`/matrix` by default) and **doesn't "contaminate" your server** with files all over the place
127127

docs/importing-postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ALTER TABLE public.application_services_state OWNER TO synapse_user;
6060
It can be worked around by changing the username to `synapse`, for example by using `sed`:
6161
6262
```Shell
63-
$ sed -i "s/synapse_user/synapse/g" homeserver.sql"
63+
$ sed -i "s/synapse_user/synapse/g" homeserver.sql
6464
```
6565
6666
This uses sed to perform an 'in-place' (`-i`) replacement globally (`/g`), searching for `synapse user` and replacing with `synapse` (`s/synapse_user/synapse`). If your database username was different, change `synapse_user` to that username instead.

docs/prerequisites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ To install Matrix services using this Ansible playbook, you need:
44

55
- (Recommended) An **x86** server ([What kind of server specs do I need?](faq.md#what-kind-of-server-specs-do-i-need)) running one of these operating systems:
66
- **CentOS** (7 only for now; [8 is not yet supported](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/300))
7-
- **Debian** (9/Stretch or newer)
8-
- **Ubuntu** (16.04 or newer, although [20.04 may be problematic](ansible.md#supported-ansible-versions))
7+
- **Debian** (10/Buster or newer)
8+
- **Ubuntu** (18.04 or newer, although [20.04 may be problematic](ansible.md#supported-ansible-versions))
99
- **Archlinux**
1010

1111
Generally, newer is better. We only strive to support released stable versions of distributions, not betas or pre-releases. This playbook can take over your whole server or co-exist with other services that you have there.

examples/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ matrix_domain: YOUR_BARE_DOMAIN_NAME_HERE
1414
#
1515
# In case SSL renewal fails at some point, you'll also get an email notification there.
1616
#
17-
# If you decide to use another method for managing SSL certifites (different than the default Let's Encrypt),
17+
# If you decide to use another method for managing SSL certificates (different than the default Let's Encrypt),
1818
# you won't be required to define this variable (see `docs/configuring-playbook-ssl-certificates.md`).
1919
#
2020
# Example value: [email protected]

roles/matrix-bot-mjolnir/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
matrix_bot_mjolnir_enabled: true
55

6-
matrix_bot_mjolnir_version: "v0.1.19"
6+
matrix_bot_mjolnir_version: "v1.1.20"
77

88
matrix_bot_mjolnir_container_image_self_build: false
99
matrix_bot_mjolnir_container_image_self_build_repo: "https://github.com/matrix-org/mjolnir.git"

roles/matrix-bridge-appservice-irc/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ matrix_appservice_irc_container_self_build: false
77
matrix_appservice_irc_docker_repo: "https://github.com/matrix-org/matrix-appservice-irc.git"
88
matrix_appservice_irc_docker_src_files_path: "{{ matrix_base_data_path }}/appservice-irc/docker-src"
99

10-
matrix_appservice_irc_version: release-0.30.0
10+
matrix_appservice_irc_version: release-0.31.0
1111
matrix_appservice_irc_docker_image: "{{ matrix_container_global_registry_prefix }}matrixdotorg/matrix-appservice-irc:{{ matrix_appservice_irc_version }}"
1212
matrix_appservice_irc_docker_image_force_pull: "{{ matrix_appservice_irc_docker_image.endswith(':latest') }}"
1313

roles/matrix-bridge-heisenbridge/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
matrix_heisenbridge_enabled: true
55

6-
matrix_heisenbridge_version: 1.0.1
6+
matrix_heisenbridge_version: 1.2.0
77
matrix_heisenbridge_docker_image: "{{ matrix_container_global_registry_prefix }}hif1/heisenbridge:{{ matrix_heisenbridge_version }}"
88
matrix_heisenbridge_docker_image_force_pull: "{{ matrix_heisenbridge_docker_image.endswith(':latest') }}"
99

roles/matrix-client-element/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ matrix_client_element_enabled: true
33
matrix_client_element_container_image_self_build: false
44
matrix_client_element_container_image_self_build_repo: "https://github.com/vector-im/riot-web.git"
55

6-
matrix_client_element_version: v1.8.2
6+
matrix_client_element_version: v1.8.5
77
matrix_client_element_docker_image: "{{ matrix_client_element_docker_image_name_prefix }}vectorim/element-web:{{ matrix_client_element_version }}"
88
matrix_client_element_docker_image_name_prefix: "{{ 'localhost/' if matrix_client_element_container_image_self_build else matrix_container_global_registry_prefix }}"
99
matrix_client_element_docker_image_force_pull: "{{ matrix_client_element_docker_image.endswith(':latest') }}"

roles/matrix-client-hydrogen/tasks/setup.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@
3333
register: matrix_client_hydrogen_git_pull_results
3434
when: "matrix_client_hydrogen_enabled|bool and matrix_client_hydrogen_container_image_self_build|bool"
3535

36-
- name: Ensure Hydrogen Docker image is built
37-
docker_image:
38-
name: "{{ matrix_client_hydrogen_docker_image }}"
39-
source: build
40-
force_source: "{{ matrix_client_hydrogen_git_pull_results.changed }}"
41-
build:
42-
dockerfile: Dockerfile
43-
path: "{{ matrix_client_hydrogen_docker_src_files_path }}"
44-
pull: yes
45-
when: "matrix_client_hydrogen_enabled|bool and matrix_client_hydrogen_container_image_self_build|bool"
46-
4736
- name: Ensure Hydrogen configuration installed
4837
copy:
4938
content: "{{ matrix_client_hydrogen_configuration|to_nice_json }}"
@@ -64,6 +53,19 @@
6453
- {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"}
6554
when: "matrix_client_hydrogen_enabled|bool and item.src is not none"
6655

56+
# This step MUST come after the steps to install the configuration files because the config files
57+
# are currently only read at build time, not at run time like most other components in the playbook
58+
- name: Ensure Hydrogen Docker image is built
59+
docker_image:
60+
name: "{{ matrix_client_hydrogen_docker_image }}"
61+
source: build
62+
force_source: "{{ matrix_client_hydrogen_git_pull_results.changed }}"
63+
build:
64+
dockerfile: Dockerfile
65+
path: "{{ matrix_client_hydrogen_docker_src_files_path }}"
66+
pull: yes
67+
when: "matrix_client_hydrogen_enabled|bool and matrix_client_hydrogen_container_image_self_build|bool"
68+
6769
- name: Ensure matrix-client-hydrogen.service installed
6870
template:
6971
src: "{{ role_path }}/templates/systemd/matrix-client-hydrogen.service.j2"

roles/matrix-grafana/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
matrix_grafana_enabled: false
55

6-
matrix_grafana_version: 8.1.2
6+
matrix_grafana_version: 8.1.4
77
matrix_grafana_docker_image: "{{ matrix_container_global_registry_prefix }}grafana/grafana:{{ matrix_grafana_version }}"
88
matrix_grafana_docker_image_force_pull: "{{ matrix_grafana_docker_image.endswith(':latest') }}"
99

0 commit comments

Comments
 (0)