Slavi Pantaleev
7871a92b04
Upgrade Synapse (v1.70.1 -> v1.71.0)
2 years ago
Aine
a4dbc27f34
remove etherpad nginx config automatically
2 years ago
drelephant
5642586820
Merge branch 'spantaleev:master' into fixgradle
2 years ago
mouse
5e1bcf3f76
stop gradle pacman error on ubuntu
2 years ago
Aine
e3b3f07607
etherpad: add abiword and soffice config options
2 years ago
Slavi Pantaleev
663f0bc5ef
Install openssl using ansible.builtin.package, not using a distro-specific package manager module
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2 years ago
Slavi Pantaleev
5ef70015cb
Ensure git is installed using ansible.builtin.package, not using a distro-specific package manager module
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2 years ago
Slavi Pantaleev
13b63eabf0
Merge pull request #2229 from etkecc/make-etherpad-great-again
...
standalone etherpad
2 years ago
Slavi Pantaleev
805b70bfa3
Announce standalone Etherpad
2 years ago
Aine
39e4b419dd
matrix-etherpad: fail when mode is 'dimension', but dimension is disabled
2 years ago
Slavi Pantaleev
2473cd655b
Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way
...
This fixes a regression since the change done in c1c152f7ac
.
When another role (say `matrix-jitsi`) included `roles/custom/matrix-base/tasks/util/ensure_openssl_installed.yml`,
which then included `{{ role_path }}/tasks/util/ensure_openssl_installed_DISTRO.yml`,
that `role_path` variable would end up being the parent role
(`matrix-jitsi`) and not the `matrix-base` role, so we'd get a failure.
An alternative solution may have been to avoid using `role_path`, but
importing roles properly (like we've done in this patch) sounds like a better way.
Unfortunately, `import_role` fails if `tasks_from` is something like
`util/ensure_openssl_installed` (containing a `/`), so I had to move
these utils out of `util/`.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2 years ago
Aine
06eb186729
add matrix_etherpad_mode
2 years ago
Slavi Pantaleev
c1c152f7ac
Include potentially distro-specific tasks at runtime
...
This avoids Ansible trying to ensure `community.general.pacman` is
available, even if that module will never run (because `when` says so).
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2 years ago
Slavi Pantaleev
264d1716e0
Merge pull request #2230 from etkecc/fix-workers-yaml-include-path
...
Keep Synapse worker definitions in vars.yml to avoid an extra file include on each playbook task
2 years ago
Slavi Pantaleev
6c524302d6
Add intentionally-ignored-endpoints to intentionally-ignored-endpoints for completeness
2 years ago
Slavi Pantaleev
a9e2607d80
Fix yaml[comments-indentation] in workers config and remove automation
2 years ago
Darren Rambaud
1c643263dd
dendrite: update image tag to latest release (0.10.7)
...
- https://github.com/matrix-org/dendrite/releases/tag/v0.10.7
2 years ago
Aine
da4a82c48b
remove old workers.yml (already saved into main.yml)
2 years ago
Aine
37d4bf0d1c
fix workers-doc-to-yaml
2 years ago
Aine
9b97957022
Merge branch 'master' into make-etherpad-great-again
2 years ago
Slavi Pantaleev
a4e2a3bc07
Upgrade Hydrogen (v0.3.2 -> v0.3.3)
2 years ago
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
2 years ago
Slavi Pantaleev
4f4c856e43
matrix_host_command_systemctl -> devture_systemd_docker_base_host_command_systemctl (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
04c6c11561
Install ntpd/systemd-timesync via com.devture.ansible.role.timesync
2 years ago
Slavi Pantaleev
db19482d0c
Replace matrix_playbook_runtime_results with devture_playbook_runtime_messages_list (via com.devture.ansible.role.playbook_runtime_messages)
2 years ago
Slavi Pantaleev
c3a7237de7
Initial work on using externally defined roles
2 years ago
Aine
83c40fce15
standalone etherpad
2 years ago
Slavi Pantaleev
4cbea602dd
Sync appservice-discord configuration with upstream
2 years ago
Slavi Pantaleev
995ef460e7
Upgrade appservice-discord (3.0.0 -> 3.1.0)
2 years ago
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
...
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
2 years ago
Slavi Pantaleev
e1cfb6e79f
Make yamllint happy
2 years ago
Samuel Meenzen
c330b85de3
Merge branch 'spantaleev:master' into mautrix-discord-restricted-rooms-config
2 years ago
Slavi Pantaleev
c96878275c
Merge pull request #2224 from Michael-Hollister/bugfix/fix-synapse-stream-writer-workers
...
Fixed filter for Synapse stream_writer HS config
2 years ago
Aine
0fd9f3d4f9
Pin mautrix-instagram to v0.2.2
2 years ago
Slavi Pantaleev
8a609e5cf2
Fix some ansible-lint-reported errors
2 years ago
Slavi Pantaleev
e531b7aefd
Merge pull request #2217 from ikkemaniac/git-hash
...
Save the GIT hash when running the playbook to allow for easy recovery
2 years ago
Slavi Pantaleev
d2aef10f33
Merge pull request #2223 from etkecc/patch-110
...
Update element 1.11.12 -> 1.11.13
2 years ago
Darren Rambaud
28d9ee8578
dendrite: update tag to v0.10.6
...
- update tag to latest dendrite release (https://github.com/matrix-org/dendrite/releases/tag/v0.10.6 )
2 years ago
Michael Hollister
b7bd68d3cb
Fixed filter for Synapse stream_writer HS config
2 years ago
Slavi Pantaleev
c3dc64b1d5
Add matrix-user-creator role - automatic user account creation support
...
We no longer ask users to create Matrix user accounts for these bots:
- Postmoogle
- Honoroit
- Reminder Bot
Other bots and services (matrix-registration-bot, maubot, mjolnir,
Dimension, etc.) require an Access Token to run (not a password),
so this new role doesn't help for them.
It does help for the above bots though, and for defining your own
"initial user accounts" in the `matrix_user_creator_users_additional`
variable.
2 years ago
Aine
501420f3cc
Update element 1.11.12 -> 1.11.13
2 years ago
Slavi Pantaleev
125ca5569d
Use unique filter for matrix_postgres_import_roles_to_ignore and matrix_postgres_import_databases_to_ignore
...
Dendrite uses a lot of databases, but a single (`dendrite`) role, which
leads to `matrix_postgres_import_roles_to_ignore` being something like
`['dendrite', 'dendrite', 'dendrite', ...]` needlessly.
This leads to weird regexes being generated for
`matrix_postgres_import_roles_ignore_regex`.
It's not that it hurts, but it just looks odd.
2 years ago
Slavi Pantaleev
a4662660d2
Do not wait needlessly when vacuuming or importing Postgres
2 years ago
Slavi Pantaleev
74b186a454
Fix "too many spaces after colon" ansible-lint error
2 years ago
Slavi Pantaleev
9fb21b89a8
Fix import-postgres/run-postgres-vacuum failures being suppressed
...
We were only reporting failures for when the async task didn't finish.
We also need to report a failure for when the task finished, but
returned a non-zero exit code.
2 years ago
Slavi Pantaleev
17caa13a71
Upgrade Grafana (9.2.2 -> 9.2.3)
2 years ago
Slavi Pantaleev
f7b45fd440
Upgrade ddclient (v3.10.0-ls102 -> v3.10.0-ls103)
2 years ago
ikkemaniac
3a49b0077c
fix ansible-lint errors
2 years ago
Slavi Pantaleev
3fc19295e2
Fix ansible-lint error (ansible.builtin.synchronize -> ansible.posix.synchronize)
2 years ago
ikkemaniac
8b425b995e
add newline char
2 years ago
ikkemaniac
93615b6ad9
Revert "convert shell to command usage" to allow for a catching the specific "git: not found" error.
...
This reverts commit 45c9c2b17a
.
2 years ago
ikkemaniac
45c9c2b17a
convert shell to command usage
2 years ago
ikkemaniac
2b049da963
move when clause per linting suggestion
2 years ago
ikkemaniac
39e6484956
fix lints
2 years ago
Slavi Pantaleev
e1274a6e56
Rename variable (matrix_hookshot_feeds_interval -> matrix_hookshot_feeds_pollIntervalSeconds)
...
This is more consistent with how we name variables. It's also less
confusing, especially given that we have `matrix_hookshot_feeds_pollTimeoutSeconds` as well.
2 years ago
Slavi Pantaleev
ec45b87376
Add matrix_hookshot_feeds_pollTimeoutSeconds
2 years ago
Slavi Pantaleev
975dda54c9
Upgrade Dendrite (0.10.4 -> 0.10.5)
2 years ago
ikkemaniac
15fbc525cf
Typo
2 years ago
ikkemaniac
fd25cf8f54
Update wording
2 years ago
ikkemaniac
3d902b7fe7
be more specific on GIT not found error
2 years ago
ikkemaniac
930867d50d
Remove matrix_vars_yml_snapshotting_enabled condition
2 years ago
ikkemaniac
230eea6784
Save git_hash.yml only on the target
2 years ago
ikkemaniac
678dfc6dc3
Rename var
2 years ago
Stefan Warnat
ab398276af
Always use resolver variable in nginx conf.d files
2 years ago
ikkemaniac
80e57417f4
To recover from a failure or allow to quickly reset to known state we need to know with what playbook-commit the sever is installed. This commit saves the GIT hash/status when we run the playbook in a file called git_hash.yml. It also backs up that file by copying it to the target machine.
2 years ago
Aine
e25464409d
Update mautrix-signal 0.4.0 -> 0.4.1
...
ref: https://github.com/mautrix/signal/releases/tag/v0.4.1
2 years ago
Slavi Pantaleev
30180048c3
Upgrade Synapse (v1.69.0 -> v1.70.1)
2 years ago
Slavi Pantaleev
7fb45a507d
Make --tags=run-postgres-vacuum and --tags=upgrade-postgres not assume Synapse
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2211
2 years ago
Sebastian Gumprich
48388a3d96
use fqcns for some task
...
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
2 years ago
Aine
3c31638de9
fix buscarron ban list
2 years ago
Aine
45226f3141
Update signald 0.22.2 -> 0.23.0
...
ref: https://gitlab.com/signald/signald/-/issues/343
2 years ago
Slavi Pantaleev
7303f9241c
Fix yamllint error
2 years ago
Slavi Pantaleev
35c5c23a3e
Remove useless tasks from matrix-postgres-backup role
...
`matrix-postgres-backup` reuses the `matrix-postgres` role for these
tasks, not its own definitions.
2 years ago
Slavi Pantaleev
6cacf7297d
Add support for postgres-backup-local v15
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2200
2 years ago
Slavi Pantaleev
e5e5ee4f72
Use fixed image tags for prodrigestivill/postgres-backup-local
...
At some point, we can drop v9.6 support and use a single variable
that holds this value.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2191
2 years ago
Joe Kappus
170960be1a
update element v1.11.11 -> v1.11.12
...
fixes jitsi issue
2 years ago
Slavi Pantaleev
3694bf1d18
Merge pull request #2198 from etkecc/buscarron-130
...
update buscarron 1.2.1 -> 1.3.0
2 years ago
Slavi Pantaleev
06d4ca0f4e
Merge pull request #2197 from etkecc/postmoogle-098
...
update postmoogle 0.9.7 -> 0.9.8
2 years ago
Slavi Pantaleev
304906260b
Merge pull request #2196 from etkecc/honoroit-0916
...
update honoroit 0.9.15 -> 0.9.16
2 years ago
Aine
437d177d31
update element v1.11.10 -> v1.11.11
2 years ago
Aine
12fe1f417c
update buscarron 1.2.1 -> 1.3.0
2 years ago
Aine
a22d5b1726
update postmoogle 0.9.7 -> 0.9.8
2 years ago
Aine
145a57a7b8
update honoroit 0.9.15 -> 0.9.16
2 years ago
Aine
81d8785811
Update grafana 9.2.1 -> 9.2.2
2 years ago
Aine
fd7e1604a5
Update appservice-irc 0.35.1 -> 0.36.0
2 years ago
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
2 years ago
Slavi Pantaleev
9c549a185f
Auto-purge orphaned Let's Encrypt renewal configuration files
2 years ago
Aine
24409766eb
Fix 502
...
ref: 57bb340343
2 years ago
Slavi Pantaleev
716efe7ad5
Upgrade ddclient (v3.9.1-ls100 -> v3.10.0-ls102)
2 years ago
Slavi Pantaleev
9fd3e00b71
Upgrade nginx (1.23.1 -> 1.23.2)
2 years ago
Slavi Pantaleev
57bb340343
Make ntfy not try to listen on a privileged port
...
We're starting it with `--user` and dropped capabilities, after all.
Hopefully fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2188
2 years ago
Slavi Pantaleev
4635968840
Upgrade Hookshot (2.3.0 -> 2.4.0)
2 years ago
Slavi Pantaleev
4cf85605a9
Upgrade Dendrite (0.10.3 -> 0.10.4)
2 years ago
Slavi Pantaleev
ff0fc88fae
Make Postgres import not break for databases with special names
...
We haven't encountered such a problem yet, but it doesn't hurt to
make things more robust.
2 years ago
Slavi Pantaleev
0b44ec19b4
Do not override matrix_postgres_import_roles_to_ignore/matrix_postgres_import_databases_to_ignore in group_vars
...
These values that we were setting also make sense in the context of the
`matrix-postgres` role even when not used within the playbook.
2 years ago
Slavi Pantaleev
e37e86eb1c
Fix 'could not save history to file "//.psql_history"' errors
2 years ago