Commit graph

3278 commits

Author SHA1 Message Date
ikkemaniac 93615b6ad9 Revert "convert shell to command usage" to allow for a catching the specific "git: not found" error.
This reverts commit 45c9c2b17a.
2022-10-31 23:38:54 +01:00
ikkemaniac 45c9c2b17a convert shell to command usage 2022-10-31 23:08:45 +01:00
ikkemaniac 2b049da963 move when clause per linting suggestion 2022-10-31 23:00:04 +01:00
ikkemaniac 39e6484956 fix lints 2022-10-31 22:57:16 +01:00
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.
2022-10-31 21:52:01 +02:00
Slavi Pantaleev ec45b87376 Add matrix_hookshot_feeds_pollTimeoutSeconds 2022-10-31 21:50:39 +02:00
Slavi Pantaleev 975dda54c9 Upgrade Dendrite (0.10.4 -> 0.10.5) 2022-10-31 21:34:14 +02:00
ikkemaniac 15fbc525cf Typo 2022-10-30 14:53:27 +01:00
ikkemaniac fd25cf8f54 Update wording 2022-10-30 14:45:20 +01:00
ikkemaniac 3d902b7fe7 be more specific on GIT not found error 2022-10-30 14:35:44 +01:00
ikkemaniac 930867d50d Remove matrix_vars_yml_snapshotting_enabled condition 2022-10-30 14:07:39 +01:00
ikkemaniac 230eea6784 Save git_hash.yml only on the target 2022-10-30 14:04:33 +01:00
ikkemaniac 678dfc6dc3 Rename var 2022-10-30 14:00:04 +01:00
Stefan Warnat ab398276af Always use resolver variable in nginx conf.d files 2022-10-30 00:55:36 +02:00
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. 2022-10-29 23:58:46 +02:00
Aine e25464409d
Update mautrix-signal 0.4.0 -> 0.4.1
ref: https://github.com/mautrix/signal/releases/tag/v0.4.1
2022-10-28 20:53:48 +00:00
Slavi Pantaleev 30180048c3 Upgrade Synapse (v1.69.0 -> v1.70.1) 2022-10-28 19:43:44 +03:00
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
2022-10-28 17:40:12 +03:00
Sebastian Gumprich 48388a3d96 use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
2022-10-28 14:04:29 +02:00
Aine 3c31638de9
fix buscarron ban list 2022-10-27 10:45:08 +00:00
Aine 45226f3141
Update signald 0.22.2 -> 0.23.0
ref: https://gitlab.com/signald/signald/-/issues/343
2022-10-27 08:14:31 +00:00
Slavi Pantaleev 7303f9241c Fix yamllint error 2022-10-27 09:59:54 +03:00
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.
2022-10-27 06:51:31 +03:00
Slavi Pantaleev 6cacf7297d Add support for postgres-backup-local v15
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2200
2022-10-27 06:51:31 +03:00
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
2022-10-27 06:51:31 +03:00
Joe Kappus 170960be1a
update element v1.11.11 -> v1.11.12
fixes jitsi issue
2022-10-26 18:47:09 -04:00
Slavi Pantaleev 3694bf1d18
Merge pull request #2198 from etkecc/buscarron-130
update buscarron 1.2.1 -> 1.3.0
2022-10-25 22:05:22 +03:00
Slavi Pantaleev 06d4ca0f4e
Merge pull request #2197 from etkecc/postmoogle-098
update postmoogle 0.9.7 -> 0.9.8
2022-10-25 22:03:59 +03:00
Slavi Pantaleev 304906260b
Merge pull request #2196 from etkecc/honoroit-0916
update honoroit 0.9.15 -> 0.9.16
2022-10-25 22:03:20 +03:00
Aine 437d177d31
update element v1.11.10 -> v1.11.11 2022-10-25 18:17:47 +00:00
Aine 12fe1f417c
update buscarron 1.2.1 -> 1.3.0 2022-10-25 18:39:39 +03:00
Aine a22d5b1726
update postmoogle 0.9.7 -> 0.9.8 2022-10-25 18:26:57 +03:00
Aine 145a57a7b8
update honoroit 0.9.15 -> 0.9.16 2022-10-25 18:25:07 +03:00
Aine 81d8785811
Update grafana 9.2.1 -> 9.2.2 2022-10-25 13:03:50 +00:00
Aine fd7e1604a5
Update appservice-irc 0.35.1 -> 0.36.0 2022-10-25 09:16:24 +00:00
Slavi Pantaleev cb2fecbea9 Fix some ansible-lint-reported warnings 2022-10-25 06:43:57 +03:00
Slavi Pantaleev 9c549a185f Auto-purge orphaned Let's Encrypt renewal configuration files 2022-10-25 06:28:24 +03:00
Aine 24409766eb
Fix 502
ref: 57bb340343
2022-10-24 05:42:18 +00:00
Slavi Pantaleev 716efe7ad5 Upgrade ddclient (v3.9.1-ls100 -> v3.10.0-ls102) 2022-10-23 09:52:02 +03:00
Slavi Pantaleev 9fd3e00b71
Upgrade nginx (1.23.1 -> 1.23.2) 2022-10-23 07:45:54 +03:00
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
2022-10-22 08:45:59 +03:00
Slavi Pantaleev 4635968840 Upgrade Hookshot (2.3.0 -> 2.4.0) 2022-10-21 20:07:29 +03:00
Slavi Pantaleev 4cf85605a9 Upgrade Dendrite (0.10.3 -> 0.10.4) 2022-10-21 17:36:24 +03:00
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.
2022-10-21 11:25:30 +03:00
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.
2022-10-21 10:01:22 +03:00
Slavi Pantaleev e37e86eb1c Fix 'could not save history to file "//.psql_history"' errors 2022-10-21 07:33:10 +03:00
Slavi Pantaleev bed9c18ab0 Pin Postgres version to 15.0
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2180

Just specifying `15` means we won't automatically re-pull `15.1` when it comes out.
2022-10-21 05:32:02 +03:00
Slavi Pantaleev b8097b0bd6 Add support for binary content to matrix-aux 2022-10-20 16:05:55 +03:00
Slavi Pantaleev af3a32cf6a Fix Jinja2 interpolation for some default variables
We're overriding these in the correct way in `group_vars/matrix_servers`
so this wasn't causing any problem in practice.
2022-10-20 15:46:02 +03:00
Slavi Pantaleev 490cce14ad Merge branch 'dnapier-master'
Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2180
2022-10-20 07:43:32 +03:00
Slavi Pantaleev a32eea41fe Make roles/matrix-postgres/tasks/detect_existing_postgres_version.yml detect Postgres v14 2022-10-20 07:43:01 +03:00
Slavi Pantaleev 20db57d288 Upgrade certbot (v1.30.0 -> v1.31.0) 2022-10-20 07:40:45 +03:00
David Napier 2eef6af23e Bump postgres version to newly released 15 2022-10-19 10:45:11 -04:00
Aine bcba84389d
Update grafana 9.2.0 -> 9.2.1 2022-10-18 12:43:13 +00:00
Aine c781bdea99
Update Synapse 1.68.0 -> 1.69.0 2022-10-17 14:24:57 +00:00
Slavi Pantaleev 6480cc3629 Fix 'something' is undefined error in matrix-bridge-appservice-slack
.. when `matrix_nginx_proxy_enabled: false`

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2177
2022-10-17 08:04:06 +03:00
Slavi Pantaleev 476416a880
Merge pull request #2175 from smargold476/master
Add ability to sync only direct Chats in TG-Bridge
2022-10-16 18:28:22 +03:00
Slavi Pantaleev 07a7234ba0
Use | to_json 2022-10-16 18:27:35 +03:00
Slavi Pantaleev 4d267dad40 Upgrade mautrix-whatsapp (0.7.0 -> 0.7.1) and sync bridge config with upstream 2022-10-16 18:24:55 +03:00
smargold476 4751f84971
Merge pull request #2 from smargold476/patch-3
add option to change filter_mode
2022-10-15 14:41:36 +02:00
smargold476 a6e167cf91
add option to change filter_mode 2022-10-15 14:38:51 +02:00
smargold476 01078fea8f
add default for TG filter_mode 2022-10-15 14:37:09 +02:00
Slavi Pantaleev 30745db6d5 Add storage-class support to the s3_media_upload command and mention matrix-synapse-s3-storage-provider-migrate script 2022-10-14 18:29:30 +03:00
Slavi Pantaleev 6f56b9fb38 Upgrade Dendrite (0.10.2 -> 0.10.3) 2022-10-14 18:17:08 +03:00
Slavi Pantaleev de8fd519c5 Document matrix-synapse-s3-storage-provider-migrate.{service,timer} 2022-10-14 18:14:34 +03:00
Slavi Pantaleev 2e0fc5c11c Fix some ansible-lint-reported warnings 2022-10-14 18:04:49 +03:00
Slavi Pantaleev fe96475595 Remove some useless PG_ variables fron the s3-storage-provider env-file
These Postgres configuration variables are part of the `database.yaml` file
and don't need to be here.
2022-10-14 18:01:51 +03:00
Slavi Pantaleev a3759b0466 Announce Synapse customization and synapse-s3-storage-provider support 2022-10-14 17:50:48 +03:00
Slavi Pantaleev ac7cb3619d Add support for synapse-s3-storage-provider 2022-10-14 17:41:41 +03:00
Slavi Pantaleev 881fdd28f0 Add support for Synapse container image customization
This allows people to augment the Synapse image with custom tools and
addons without having to rebuild it from scratch.

If customizations are enabled, the playbook will build a new
`localhost/matrixdotorg/synapse:VERSION-customized` image
on top of the default one (`FROM matrixdotorg/synapse:VERSION`)
and with custom Dockerfile build steps.

For servers that self-build the Synapse image, the Synapse image will be
built first, before proceding to extend it the same way.

In the future, we'll also have easy to enable Dockerfile build steps
for modules that the playbook supports.
2022-10-14 16:37:54 +03:00
Slavi Pantaleev 0da068c7e6 Add support for configuring Synapse's media_storage_providers
In the future, we'll also inject media storage providers that we support
into the `matrix_synapse_media_storage_providers_auto` list.
2022-10-14 16:28:47 +03:00
Slavi Pantaleev 62215a87fe Upgrade Postgres minor versions (14.4 -> 14.5, 13.7 -> 13.8, etc.) 2022-10-14 16:25:57 +03:00
Aine 7c7b9d119f
Update postmoogle 0.9.6 -> 0.9.7
* fix room account data retrieving
2022-10-12 10:57:25 +00:00
Aine 43b1be9a3c
Update grafana 9.1.7 -> 9.2.0 2022-10-11 18:57:52 +00:00
Aine 3c669761ce
Update element 1.11.9 -> 1.11.10 2022-10-11 18:31:46 +00:00
Slavi Pantaleev a9100641f6
Merge pull request #2168 from etkecc/patch-96
Update postmoogle 0.9.5 -> 0.9.6
2022-10-11 19:57:22 +03:00
Aine fe8f91a9da
Update postmoogle 0.9.5 -> 0.9.6
* show recipient's email (header `TO`)
* add `norecipient` option
* add anti-spam options (`spamcheck:` and `spamlist:`)
* fix bugs
2022-10-11 14:30:55 +00:00
Aine 19f1c8ea5e
Update element 1.11.8 -> 1.11.9 2022-10-11 14:29:52 +00:00
Slavi Pantaleev da041bc60c Upgrade mautrix-instagram (0.2.1 -> latest)
We don't like updating to untagged releases, but..

0.2.1 has some regression and upstream is not releasing 0.2.2 or 0.3.0
just yet, so we either need to downgrade to 0.2.0 or go `latest`.

We can hopefully switch back to a tagged release soon.

Related to https://github.com/mautrix/instagram/issues/56
2022-10-11 09:41:12 +03:00
Slavi Pantaleev c886e4f48b
Merge pull request #2164 from etkecc/patch-93
Enable hookshot feeds by default
2022-10-11 09:15:44 +03:00
Aine 5ff03c0b15
Change hookshot logging level to warn
all other bridges use that level
2022-10-11 06:04:18 +00:00
Aine 9412140477
Enable hookshot feeds by default
as per documentation: "Services that need no further configuration are enabled by default" and feeds service doesn't require it
2022-10-11 06:00:49 +00:00
Slavi Pantaleev 81f90f0ad1
Use |to_json for matrix_mautrix_discord_bridge_restricted_rooms 2022-10-10 17:09:42 +03:00
Samuel Meenzen 1d024975d6 Automatically set restricted_rooms to false on conduit 2022-10-10 07:10:15 +00:00
Samuel Meenzen 7cc3aae041
fix(mautrix-discord): allow configuring the restricted_rooms option 2022-10-09 21:59:33 +02:00
Slavi Pantaleev e6ecd54e72 Suppress some ansible-lint errors 2022-10-09 20:42:20 +03:00
Slavi Pantaleev 1be8f8b0ba import_tasks -> ansible.builtin.import_tasks 2022-10-09 19:23:40 +03:00
Aine b17b1fb01a
Update jitsi stable-7830 -> stable-7882 2022-10-09 15:52:55 +00:00
Shaleen Jain af910db583 dendrite: update config 2022-10-08 03:36:40 +05:30
Slavi Pantaleev 9e0bfcc05e Upgrade Prometheus (2.39.0 -> 2.39.1) 2022-10-07 21:37:17 +03:00
Slavi Pantaleev 12d4e080fa Upgrade Dendrite (0.10.1 -> 0.10.2) 2022-10-07 21:36:44 +03:00
Aine 61a1d6a7bd
Update Postmoogle 0.9.4 -> 0.9.5 2022-10-06 23:08:58 +03:00
Slavi Pantaleev a12cbeac3b Fix async commands
Fixes a regression introduced in d1b5681ba0.

Looks like `.finished` is a property on the main object, not on some
`.async_result` object.
2022-10-06 19:48:11 +03:00
Slavi Pantaleev aff7ca2426 Upgrade appservice-slack (1.11.0 -> 2.0.1)
This also disables self-building on arm64, since it's no longer
necessary: https://github.com/matrix-org/matrix-appservice-slack/pull/656
2022-10-06 16:39:07 +03:00
Slavi Pantaleev 69b1b56691 Upgrade signald (0.21.1 -> 0.22.2) 2022-10-06 14:01:20 +03:00
Slavi Pantaleev d1b5681ba0 Report async task failures better
We were previously trying to reach into `.rc`,
but there's no such thing if `async_result.finished == 0`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
2022-10-06 10:04:37 +03:00
Aine 7872aa1611
Update hookshot 2.2.0 -> 2.3.0 2022-10-05 08:47:29 +00:00
Aine 9b1d0a9894
Update prometheus 2.38.0 -> 2.39.0 2022-10-05 06:42:02 +00:00
Aine 0a5cc4436b
Update grafana 9.1.6 -> 9.1.7 2022-10-04 13:41:11 +00:00
Warrows 5fd94466e1
Fix quote error introduced in 936412a08 2022-10-03 23:44:45 +02:00