Commit graph

3157 commits

Author SHA1 Message Date
Slavi Pantaleev 5fafbab7ae Upgrade Signald (0.21.0 -> 0.21.1) 2022-08-23 07:51:52 +03:00
Aine 0a734a609a
postmoogle: add noowner and federation 2022-08-22 22:10:15 +03:00
Aine 1338a3c9fc
postmoogle: adjust help, add maxsize 2022-08-22 20:23:39 +03:00
Aine 9c2a8addee
add postmoogle 2022-08-22 20:10:35 +03:00
Slavi Pantaleev 576b6ae484
Merge pull request #2041 from etkecc/patch-52
Update Jitsi stable-7648-2 -> stable-7648-3
2022-08-22 13:55:22 +03:00
Slavi Pantaleev d36adca303
Upgrade Hookshot (2.0.0 -> 2.0.1) 2022-08-22 13:54:47 +03:00
Aine cdc971e5b7
Update hookshot 1.8.1 -> 2.0.0 2022-08-22 09:30:21 +00:00
Aine 7e6f6fd62a
Update Jitsi stable-7648-2 -> stable-7648-3 2022-08-22 09:29:22 +00:00
PΛVΞL D 4c56ab5ee0 Update heisenbridge 1.13.1 -> 1.14.0 2022-08-21 17:12:59 +03:00
TheOneWithTheBraid fe20c5e0a8 feat: include matrix_ldap_registration_proxy
Fixes: #1144

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-08-21 12:22:59 +02:00
Cody Wyatt Neiman 93612d6508
Fix: beeper-linkedin architecture no longer used in tag 2022-08-20 01:07:32 -04:00
Cody Wyatt Neiman 3a09cbcbf9
Update beeper-linkedin URLs to the new GitHub repo 2022-08-19 16:28:29 -04:00
Cody Wyatt Neiman 0158c854c6
Update beeper-linkedin v0.5.2 -> v0.5.3 (repo change) 2022-08-19 16:21:46 -04:00
Slavi Pantaleev f155d31224 Upgrade Dendrite (0.9.3 -> 0.9.4) 2022-08-19 15:19:43 +03:00
Aine 56497d6d86
Update prometheus postgres exporter 0.11.0 -> 0.11.1 2022-08-19 07:19:08 +00:00
Aine 066aaf4ed1
Update Jitsi stable-7577-2 -> stable-7648-2 2022-08-18 15:05:22 +00:00
Benjamin Castellan 22db7914e5 added rc_invites configuration for synapse 2022-08-17 13:34:33 +02:00
Slavi Pantaleev eb54955d63 Revert "Update Jitsi stable-7577-2 -> stable-7648"
This reverts commit 2c01c5bedf.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2025

Related to https://github.com/jitsi/jitsi-meet/issues/12026
2022-08-17 09:21:18 +03:00
Aine 514f96a914
Update mautrix-whastapp 0.6.0 -> 0.6.1 2022-08-16 17:38:05 +00:00
Slavi Pantaleev 5801982772
Merge pull request #2028 from etkecc/patch-47
Update Element 1.11.2 -> 1.11.3
2022-08-16 20:30:34 +03:00
Slavi Pantaleev bbe37e56b9
Merge pull request #2027 from etkecc/patch-46
Update Prometheus 2.37.0 -> 2.38.0
2022-08-16 20:27:21 +03:00
Slavi Pantaleev 1a1ee50b92
Merge pull request #2026 from etkecc/patch-45
Update Grafana 9.0.7 -> 9.1.0
2022-08-16 20:25:55 +03:00
Slavi Pantaleev a9bef3337d Upgrade Synapse (v1.64.0 -> v1.65.0) 2022-08-16 20:04:34 +03:00
Aine 7f4200acc1
Update Element 1.11.2 -> 1.11.3 2022-08-16 15:37:43 +00:00
Aine f8cc48eacc
Update Prometheus 2.37.0 -> 2.38.0 2022-08-16 15:36:54 +00:00
Aine 316ff36582
Update Grafana 9.0.7 -> 9.1.0 2022-08-16 15:36:01 +00:00
Slavi Pantaleev f99007975d Upgrade ddclient (v3.9.1-ls94 -> v3.9.1-ls95) 2022-08-16 08:41:58 +03:00
Slavi Pantaleev 12e423fb9d
Upgrade Dendrite (0.9.2 -> 0.9.3) 2022-08-15 12:59:49 +03:00
Slavi Pantaleev f18555f7f9
Fix typo breaking appservice-discord image pull
Related to 69dce03 (PR #2019).

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2022
2022-08-12 22:10:42 +03:00
Slavi Pantaleev a75f464ff2
Merge pull request #2020 from etkecc/patch-43
Update Jitsi stable-7577-2 -> stable-7648
2022-08-12 20:13:18 +03:00
Slavi Pantaleev e1e2615daf Upgrade Dendrite (0.9.1 -> 0.9.2) 2022-08-12 19:54:10 +03:00
Aine 2c01c5bedf
Update Jitsi stable-7577-2 -> stable-7648 2022-08-12 16:34:12 +00:00
Slavi Pantaleev e31c502579
Merge pull request #2017 from kapcake/patch-1
Update nginx-proxy: 1.23.0 -> 1.23.1
2022-08-12 07:50:47 +03:00
Aine c9ce431b8c
Update Appservice Discord 1.0.0 -> 3.0.0
Ref: https://github.com/matrix-org/matrix-appservice-discord/pull/826

```
docker pull ghcr.io/matrix-org/matrix-appservice-discord:v3.0.0
v3.0.0: Pulling from matrix-org/matrix-appservice-discord
751ef25978b2: Pull complete 
16af4ec8b188: Pull complete 
8c8f56f7dc53: Pull complete 
afa016f2f989: Pull complete 
683e2bbbda4e: Pull complete 
fb056adbb1d6: Pull complete 
716f59a72dc7: Pull complete 
d52c94fc1da3: Pull complete 
b7b9cd5ddbeb: Pull complete 
Digest: sha256:1009697517bfe07a0d2192cf3b982bc2dbe40829cedc82c100aef61f8a43e3de
Status: Downloaded newer image for ghcr.io/matrix-org/matrix-appservice-discord:v3.0.0
ghcr.io/matrix-org/matrix-appservice-discord:v3.0.0
```
2022-08-12 04:45:48 +00:00
Aine 7f20b453c3
Update Signal daeon 0.20.0 -> 0.21.0
There is no docker tag in UI, but it exists:

```
docker pull registry.gitlab.com/signald/signald:0.21.0
0.21.0: Pulling from signald/signald
2f42a0d7a7b7: Pull complete 
81c2fb1b6074: Pull complete 
7e8b9a51d6b6: Pull complete 
f6ed8fd77301: Pull complete 
64e6fa036bdc: Pull complete 
5e98b5369603: Pull complete 
f2a9b80dd9fc: Pull complete 
Digest: sha256:201cf93efba689aa0319d2a480deea8ffb7dcdfbda31ea45932fccf4c7626ab9
Status: Downloaded newer image for registry.gitlab.com/signald/signald:0.21.0
registry.gitlab.com/signald/signald:0.21.0
```
2022-08-12 04:37:45 +00:00
kapcake 7170545a54
Update nginx-proxy: 1.23.0 -> 1.23.1 2022-08-11 21:48:17 +02:00
Aine 339c50c493
Update Cinny 2.1.1 -> 2.1.2 2022-08-11 17:04:46 +00:00
Aine 7b150fdb04
Update Grafana 9.0.6 -> 9.0.7 2022-08-10 15:13:04 +00:00
Slavi Pantaleev f2d613dfea Upgrade Coturn (4.5.2-r13 -> 4.5.2-r14) 2022-08-10 14:16:44 +03:00
Slavi Pantaleev 451a14c861
Merge pull request #2012 from etkecc/mautrix-whatsapp-config
mautrix-whatsapp config adjustements
2022-08-10 07:19:27 +03:00
Aine e637db348a
mautrix-whatsapp config adjustements 2022-08-09 23:45:10 +03:00
Aine aace9b131f
Update Jitsi stable-7577-1 -> stable-7577-2 2022-08-09 19:59:34 +00:00
Slavi Pantaleev dcb5a1370b Upgrade Jitsi (stable-7577 -> stable-7577-1) 2022-08-09 21:41:37 +03:00
Slavi Pantaleev 1aff2ca247 Fix ansible-lint errors 2022-08-09 10:54:39 +03:00
Slavi Pantaleev 04f224e634
Merge branch 'master' into conduit 2022-08-09 10:46:03 +03:00
Charles Wright e74560c6ef Moved Conduit directory creation from setup.yml into setup_install.yml, as suggested by Slavi 2022-08-08 22:08:09 -05:00
Aine cf5af86d92
Update Email2Matrix 1.0.3 -> 1.1.0 2022-08-08 15:21:23 +00:00
Slavi Pantaleev 2d357637a8
Merge pull request #2006 from etkecc/patch-36
Update Jitsi stable-7439-2 -> stable-7577
2022-08-07 22:09:21 +03:00
Aine a54c06d1a7
Update Jitsi stable-7439-2 -> stable-7577 2022-08-07 17:04:20 +00:00
Aine 2ca5320371
Update Cinny 2.0.4 -> 2.1.1 2022-08-07 17:02:43 +00:00
Charles Wright 5799b95c01 Ensure space around pipe character for ansible-lint 2022-08-05 13:48:45 -05:00
Charles Wright 0ee44adde8 Using ansible.builtin where possible 2022-08-05 13:44:56 -05:00
Julian-Samuel Gebühr 32430de812
Fix bug that prevented user with external nginx from launch (#2003)
* Fix bug that prevented user with external nginx from launch

The backslash was missing and prevented users from starting the bot

* Add necessary config for ext nginx to docs

* Add automatic config for ext nginx, adjust docs

* Remove unneeded and possibly puzzeling documentation
2022-08-05 20:02:01 +03:00
Charles Wright 47caba38fb Implemented suggestions from Slavi 2022-08-05 09:59:35 -05:00
Slavi Pantaleev ecfcbd6f1f
Merge pull request #2001 from etkecc/honoroit-0912
Update Honoroit 0.9.11 -> 0.9.12
2022-08-05 07:10:34 +03:00
Charles Wright 20767b5149 Fixes to enable Conduit in setup-all 2022-08-04 14:35:41 -05:00
Aine 998dafe9c4
Update Honoroit 0.9.11 -> 0.9.12 2022-08-04 22:02:45 +03:00
Charles Wright 53cf0e18a4 Actually make the data dir writable this time 2022-08-04 13:32:01 -05:00
Charles Wright 50c4c48f09 Rename storage directory to data 2022-08-04 13:31:28 -05:00
Charles Wright c228ad451d Updates to conduit paths 2022-08-04 13:25:18 -05:00
Charles Wright 2d7c427504 Fixes from a first trial run 2022-08-04 13:16:32 -05:00
Charles Wright f4afbe8ede First pass at adding vars for Conduit 2022-08-04 12:39:26 -05:00
Charles Wright c484c6294d First pass at creating defaults and tasks for Conduit 2022-08-04 12:37:08 -05:00
Charles Wright a5476e1857 Fixes to the conduit systemd config 2022-08-04 12:36:13 -05:00
Stuart Mumford 309a2393c3 Add no update flag as our config is read only 2022-08-04 09:18:12 +00:00
Stuart Mumford f9026469cd Add back sqlite plugin database config option 2022-08-04 08:54:19 +00:00
Charles Wright 6be5672eac Adding support for Conduit: First temps: Some rough templates 2022-08-03 22:07:42 -05:00
Charles Wright cad5d56011
Fix Dendrite extra arguments getting lost
Move the `matrix_dendrite_process_extra_arguments` line up so it doesn't get lost, and add a trailing backslash
2022-08-03 21:26:46 -05:00
Slavi Pantaleev 747e9dd57c Upgrade Dendrite (0.9.0 -> 0.9.1) 2022-08-03 21:44:28 +03:00
Aine 311926cbda
Update Element 1.11.1 -> 1.11.2 2022-08-03 08:38:15 +00:00
Slavi Pantaleev 8b588735e1 Fix fully-qualified container image name for go-skype-bridge when not self-building
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1996

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1992

Regression since cf6e38a586
2022-08-03 11:00:54 +03:00
Slavi Pantaleev 5958f851c4
Merge pull request #1995 from etkecc/patch-33
Update Hydrogen 0.3.0 -> 0.3.1
2022-08-02 14:00:22 +03:00
Aine 8c983ba1e2
Update Hydrogen 0.3.0 -> 0.3.1 2022-08-02 10:47:54 +00:00
Aine 01dfbee51e
Update Synapse 1.63.1 -> 1.64.0 2022-08-02 10:45:32 +00:00
Slavi Pantaleev d81f50d1c0 Update Grafana (9.0.5 -> 9.0.6) 2022-08-02 10:49:48 +03:00
Slavi Pantaleev c807af2873 Upgrade ddclient (v3.9.1-ls93 -> v3.9.1-ls94) 2022-08-02 08:03:22 +03:00
Slavi Pantaleev cf6e38a586 Use pre-built image for go-skype-bridge on amd64 and arm64
Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1992
- https://github.com/kelaresg/go-skype-bridge/pull/17
2022-08-02 07:48:19 +03:00
Arthur Brugière 3cde6cace9
[Go-Skype] Change Docker Hub repository 2022-08-02 09:10:37 +07:00
Slavi Pantaleev cc58167f4c Upgrade Dendrite (0.8.1 -> 0.9.0)
Looks like we've skipped a bunch of 0.8.x versions (up to 0.8.9)
and are jumping straight to 0.9.0.

This is untested. Judging by Dendrite's changelog, it shouldn't cause
any breakage though: https://github.com/matrix-org/dendrite/blob/v0.9.0/CHANGES.md
2022-08-01 21:45:59 +03:00
Aine 737dc9d490
Fix mautrix-telegram permissions 2022-07-30 18:10:49 +00:00
Aine 5c36f14b46
Update Honoroit 0.9.10 -> 0.9.11 2022-07-30 13:24:59 +03:00
Slavi Pantaleev 544b36eb3c Upgrade Hydrogen (v0.2.33 -> v0.3.0)
This is untested.
2022-07-29 18:31:18 +03:00
IUCCA 5d7c5d122d
Added option to add env variables to mautrix signal daemon container (#1882)
* Auto trust new signal identities

from signald doku: when a remote key changes, set trust level to TRUSTED_UNVERIFIED instead of UNTRUSTED 
I find it much more convenient when new identities are automatically recognized as trusted, as the process to do that manually is cumbersome.
Should this the default behavior, or should i add an option to configure this behavior?

* Added option to trust new signal identities

* Using env file

* Renamed variable

* Corrected typo

* Use fully-qualified Ansible module name

* removed option trust_new_keys

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-29 08:28:25 +03:00
Slavi Pantaleev 429d0b323b
Merge pull request #1974 from MdotAmaan/master
Add Mautrix Discord Bridge
2022-07-29 08:05:52 +03:00
MdotAmaan 6fb961eb12 Make changes according to feedback
Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Update group_vars/matrix_servers

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Remove old data migration tasks

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Update roles/matrix-bridge-mautrix-discord/tasks/validate_config.yml

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Redo bridge permissions
2022-07-29 00:28:44 +04:00
Slavi Pantaleev 953efe6a74 Upgrade prometheus-postgres-exporter (v0.10.1 -> v0.11.0) 2022-07-28 16:58:38 +03:00
snailed c77f2b8a64
Make http_host_bind_port vars more useful (#1984)
* if variable to bind an exporter container to a host port is set, have matrix-domain.conf (nginx) support this

* manipulate some variables to account for just port numbers or 0.0.0.0 IPs

* Make sure to use the right variable in the init.yml files

* Update roles/matrix-prometheus-node-exporter/tasks/init.yml

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Update roles/matrix-prometheus-postgres-exporter/tasks/init.yml

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* remove extraneous variables and whitespace

Co-authored-by: Luca Bilke <luca@gmail.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-28 16:11:42 +03:00
Slavi Pantaleev d65096cd82
Merge pull request #1978 from spantaleev/appservice-kakaotalk
Add matrix-appservice-kakaotalk support
2022-07-27 09:42:18 +03:00
Aine a1469c8e14
Update Element v1.11.0 -> v1.11.1 2022-07-26 16:08:04 +00:00
Slavi Pantaleev 10a5b0d831 Add warnings about using Borg backup with external Postgres
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1982
2022-07-26 17:31:06 +03:00
Slavi Pantaleev 9c15474d94 Upgrade Grafana (9.0.4 -> 9.0.5) 2022-07-26 17:10:00 +03:00
Slavi Pantaleev c85c062c01 Upgrade ddclient (v3.9.1-ls92 -> v3.9.1-ls93) 2022-07-26 09:08:33 +03:00
Slavi Pantaleev 532c4ffb71 Use force=false for appservice-kakaotalk-node
Not that it matters. This option is only used when `type` is `unix`.
2022-07-25 16:54:37 +03:00
Slavi Pantaleev e5c4731f68 Use kakaotalk_ as the puppet prefix
This is what upstream uses and also what
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1977
used.

Initially, I wanted to make the prefix more unique, in case another
Kakaotalk bridge comes along, but.. it's probably on the new bridge to
come up with a unique puppet prefix, not on us now to override upstream
decisions.
2022-07-25 16:01:15 +03:00
Slavi Pantaleev d14e499365 Add dedicated variables for controlling Kakaotalk encryption 2022-07-25 16:01:15 +03:00
Slavi Pantaleev 7b937cf9a9 Make ansible-lint happy 2022-07-25 16:01:15 +03:00
Slavi Pantaleev e46ba5deba Add matrix-appservice-kakaotalk support
Adds support for: https://src.miscworks.net/fair/matrix-appservice-kakaotalk

This is pretty similar to
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1977
which just appeared, but has mostly been done independently.

I've taken some inspiration and did some fixups based on that PR.
Thanks to https://github.com/hnarjis for taking the time to contribute!

Notable differences between this branch compared to that PR:

- better naming and documentation around the "configuration" variables
- no unnecessary (5 sec.) intentional delay when starting `matrix-appservice-kakaotalk-node.service`
- stores configuration in `config/`, not in `data/`
- passes configuration as read-only and starts the bridge with (`--no-update`) to ensure no changes are made to it
- starts containers more securely - with `matrix:matrix` user:group (not `root`) and
  reduced capabilities (`--cap-drop=ALL`)
- uses `tcp` for communication between the "node" and the appservice (simpler than sharing unix sockets)
- `registration.yaml` which is closer to the one generated by `matrix-appservice-kakaotalk` (no `de.sorunome.msc2409.push_ephemeral` stuff, etc.)
- `registration.yaml` which is more customizable (customizable bot username and prefix for puppets - see `matrix_appservice_kakaotalk_appservice_bot_username` and `matrix_appservice_kakaotalk_user_prefix`)
- less fragile and more extensible bridge permissions configuration via `matrix_appservice_kakaotalk_bridge_permissions`. Doing `{% if matrix_admin %}` in the bridge configuration sometimes causes syntax problems (I hit some myself) and is not ideal. Other bridges should be redone as well.
- configurable command prefix for the bridge, instead of hardcoding `!kt` (see `matrix_appservice_kakaotalk_command_prefix`)
- logging that is more consistent with the rest of the playbook (console / journald only, no logging to files), as well as configurable log level (via `matrix_appservice_kakaotalk_logging_level`)
- somewhat more detailed documentation (`docs/configuring-playbook-bridge-appservice-kakaotalk.md`)
- removed some dead code (data relocation tasks from `tasks/setup_install.yml`, as well as likely unnecessary SQLite -> Postgres migration)
2022-07-25 16:01:15 +03:00
Slavi Pantaleev 163a423f42 Fix ansible-lint error 2022-07-25 16:01:04 +03:00
Slavi Pantaleev ac72879bf5 Make bridge permissions more easily configurable
Not doing {% if matrix_admin %} checks in the YAML also fixes some issues
with indentation being incorrect sometimes.

This should be backward compatible, except for mautrix-signal's case
where `matrix_mautrix_signal_bridge_permissions` previously existed
as a string, not a dictionary. `tasks/validate_config.yml` will catch
the problem an even provide a quick fix.
2022-07-25 15:57:16 +03:00
Slavi Pantaleev b2f47fcfcd Make linkedin logging level configurable 2022-07-25 15:57:16 +03:00
Slavi Pantaleev 9e65ba3298
Merge pull request #1958 from xangelix/migrate-mx-puppet-groupme-repo
Migrate mx-puppet-groupme to new repo
2022-07-25 15:15:06 +03:00
Slavi Pantaleev 53ea0ccca5 Fix linkedin bridge building regression
Regression since 1693c4ca1d

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1975
2022-07-23 09:07:34 +03:00
MdotAmaan 8621ff1379 Add Mautrix Discord Bridge 2022-07-22 18:55:44 +04:00
Maxdeso 75961359fb dendrite_recaptcha_siteverify_api 2022-07-21 20:54:56 +03:00
Slavi Pantaleev 1f9c7e746d
Merge pull request #1967 from aaronraimist/hydrogen
Allow new Hydrogen options from #1940 to be customized
2022-07-21 18:26:33 +03:00
Aaron Raimist 14296db9ef
Update roles/matrix-client-hydrogen/defaults/main.yml
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-21 15:24:08 +00:00
Slavi Pantaleev 4155ed2518 Leave docker_image module calls unprefixed to increase compatibility
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1965
2022-07-21 11:24:47 +03:00
Aaron Raimist b8d3453e32
lint 2022-07-21 03:17:34 +00:00
Aaron Raimist 0e77d2c2f5
lint 2022-07-21 03:15:35 +00:00
Aaron Raimist ca5d7df161
Allow new Hydrogen options from #1940 to be customized 2022-07-21 03:12:42 +00:00
Simone db604f81ec Upgrade heisenbridge 1.13.0 1.13.1 2022-07-20 19:21:23 +02:00
Aine 592c88b021
Update Grafana 9.0.3 -> 9.0.4 2022-07-20 16:52:03 +00:00
Slavi Pantaleev 89bd25995a Upgrade Synapse (v1.63.0 -> v1.63.1) 2022-07-20 16:06:01 +03:00
Slavi Pantaleev 90551e82ec Make use of matrix_bot_maubot_management_interface_port variable to actually make maubot port configurable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:06:11 +03:00
Slavi Pantaleev 8a689813ff Remove unused maubot variable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:04:35 +03:00
Slavi Pantaleev 5ce2732899 Make maubot logging level configurable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:03:50 +03:00
Slavi Pantaleev b575409ed7 Use |to_json in maubot configuration
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:02:19 +03:00
Slavi Pantaleev d2fb6a86e1 Fix matrix-bot-maubot.service.j2 indentation (tabs only)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:55:15 +03:00
Slavi Pantaleev 46ced6134c Store maubot configuration separately from data
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894

Because the configuration file is now mounted as readonly and maubot tries to update it on start,
we get this warning:
> Failed to create tempfile to write updated config to disk: [Errno 30] Read-only file system: '/config/tmpfa8vcb3y.yaml'

It doesn't seem to cause issues though.

Because the configuration is no longer overwritten on every bot start, each
next Ansible run should no longer overwrite it again and report a
"changed" task.
2022-07-20 12:54:43 +03:00
Slavi Pantaleev d1649ff67b Do not restart matrix-bot-maubot.service on every playbook run
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:40:30 +03:00
Julian-Samuel Gebühr b20cfc5015
Clear up maubot role (#1960)
* Make interface hidden behind proxy by default

* Remove expose option and replace with http_bind_port

Reasoning: This is a similar binary trigger but allows to bin not on all interfaces

* Clarify maubot admin purpose

* Remove unnecessary edif

* Extend docs to prevent common misconceptions

* Make http_bind_port singular, do not allow multiple values

* Make optional again
2022-07-20 12:23:32 +03:00
Slavi Pantaleev a1bfad1e9b Fix whitespace in matrix_bot_maubot_database_connection_string 2022-07-20 11:16:49 +03:00
Slavi Pantaleev b8832e3014 Fix some Jinja2 inconsistencies in maubot role 2022-07-20 10:27:13 +03:00
Slavi Pantaleev 1f2d100d91
Merge pull request #1894 from moan0s/maubot_moanos
Maubot moanos
2022-07-20 10:10:14 +03:00
Slavi Pantaleev e306d0051e
Add project introduction to maubot's defaults file 2022-07-20 10:07:03 +03:00
Slavi Pantaleev 492d430cb0 Revert "Revert "Update Hookshot 1.8.0 -> 1.8.1""
This reverts commit 65bfc1396e.

The 1.8.1 image is published now, so we can finally upgrade.
2022-07-20 10:01:42 +03:00
Julian-Samuel Gebühr f2dcbe5c9c Name all tasks 2022-07-20 09:00:47 +02:00
Julian-Samuel Gebühr 04a817aeaa Use explicit version for self build 2022-07-20 08:55:10 +02:00
Julian-Samuel Gebühr f8a8870711 Use FQCN 2022-07-20 08:52:58 +02:00
Julian-Samuel Gebühr d2e6ab6c38 Fix some CI lint errors 2022-07-20 08:41:17 +02:00
Julian-Samuel Gebühr 73ebbdcacd Move maubot nginx config
Reasoning: setup_install.yml only runs on --tags=setup-all or on --tags=setup-bot-maubot.

If --tags=setup-nginx-proxy or similar commands are run, setup_install.yml will not run and the nginx configuration will be incomplete.
2022-07-20 08:29:03 +02:00
Julian-Samuel Gebühr d6d311e810 Fix plugin database issue 2022-07-20 08:27:20 +02:00
Cody Wyatt Neiman 1dea35209b
Fix self-build error image names 2022-07-19 19:46:45 -04:00
Cody Wyatt Neiman dbddd9f989
Migrate mx-puppet-groupme to new repo 2022-07-19 19:02:32 -04:00
Slavi Pantaleev a4a1796518
Merge pull request #1955 from etkecc/patch-28
Update Coturn 4.5.2-r12 -> 4.5.2-r13
2022-07-19 18:40:38 +03:00
Slavi Pantaleev 2a131fd507
Merge pull request #1954 from aaronraimist/stats
Update telemetry documentation to more closely match upstream
2022-07-19 18:38:29 +03:00
Aine 66d4c7e072
[DO NOT MERGE]Update Coturn 4.5.2-r12 -> 4.5.2-r13
**no docker tag yet**, [keep an eye on it](https://hub.docker.com/r/coturn/coturn/tags?page=1&name=4.5.2-r13)
2022-07-19 15:25:32 +00:00
Aaron Raimist 817830bb3d
Update telemetry documentation to more closely match upstream
Synapse no longer describes the stats as anonymized since the `server_name` is included.
https://github.com/matrix-org/synapse/pull/13321
2022-07-19 14:58:19 +00:00
Slavi Pantaleev 65bfc1396e Revert "Update Hookshot 1.8.0 -> 1.8.1"
This reverts commit 05ccee9f6f.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1952
2022-07-19 16:47:08 +03:00
Aine 24a027c6b9
Update Synapse 1.62.0 -> 1.63.0 2022-07-19 13:24:27 +00:00
Slavi Pantaleev a9c1d44059
Merge pull request #1950 from etkecc/honoroit-0910
update Honoroit 0.9.9 -> 0.9.10
2022-07-18 23:45:38 +03:00
Aine 0aca676f7f
Update Redis 7.0.3 -> 7.0.4 2022-07-18 18:35:42 +00:00
Aine 5b0bdced1d
update Honoroit 0.9.9 -> 0.9.10 2022-07-18 21:24:17 +03:00
Aine 05ccee9f6f
Update Hookshot 1.8.0 -> 1.8.1
No docker tag published yet, [keep an eye on it](https://hub.docker.com/r/halfshot/matrix-hookshot/tags?page=1&ordering=last_updated&name=1.8.1)
2022-07-18 15:37:04 +00:00
Slavi Pantaleev 8ad1fa085e Use full path when importing SSL setup tasks
This is an attempt to make ansible-lint happy.
2022-07-18 16:48:25 +03:00
Slavi Pantaleev c73680712b Fix (suppress) var-naming ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming

We don't really fix these, but just suppress them,
because they're like that intentionally.

We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
2022-07-18 16:43:12 +03:00
Slavi Pantaleev 7831dc91b3 Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
2022-07-18 16:15:04 +03:00
Slavi Pantaleev c1849ae888 Fix the remaining var-spacing ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
2022-07-18 15:33:41 +03:00
Slavi Pantaleev cac9bf2637 Fix syntax error regression 2022-07-18 15:13:09 +03:00
Slavi Pantaleev 1693c4ca1d Fix no-changed-when ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2022-07-18 15:08:10 +03:00
Slavi Pantaleev 0ab2001ce7 Fix git-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#git-latest

Our variable naming is not necessarily consistent across roles.
I've tried to follow the naming conventions of each individual role.
All new variables are suffixed with `_version`, but the prefix may be
somewhat different.
2022-07-18 14:43:52 +03:00
Slavi Pantaleev 211ff20891 Fix package-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
2022-07-18 14:08:35 +03:00
Slavi Pantaleev 318bfa84d5 Fix spacing around filter invocations 2022-07-18 13:21:32 +03:00
Slavi Pantaleev bb8b8c4bf0 Fix tasks include regression 2022-07-18 13:03:17 +03:00
Slavi Pantaleev d073c7ecb3 More ansible-lint fixes 2022-07-18 13:01:19 +03:00
Slavi Pantaleev 983bf819ef Explictly set Synapse's worker configuration's owner/permissions 2022-07-18 13:01:19 +03:00
Slavi Pantaleev ddf18eadc7 More ansible-lint fixes 2022-07-18 13:01:17 +03:00
Slavi Pantaleev 34cdaade08 Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2022-07-18 12:58:41 +03:00
Slavi Pantaleev 78b5be4a26 Do not generate /.well-known/matrix/support unless explicitly asked to
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
2022-07-18 12:54:45 +03:00
Slavi Pantaleev c9e30708be Fix double-quoting in /.well-known/matrix/support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931

`|to_json` already adds the surrounding double-quotes for the string, so
adding them explicitly means we've got a double-quotes problem.
2022-07-18 12:46:19 +03:00
Slavi Pantaleev 4a5143fa8d Add variable to influence whether /.well-known/matrix/support is created
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
2022-07-18 12:32:41 +03:00
teutates 018ca75d48
Implement MSC 1929 Homeserver Admin Contact (#1931)
* Implement MSC 1929 Homeserver Admin Contact
Fixes #1612

For details to the proposed (not accepted yet) MSC, see:
https://github.com/matrix-org/matrix-spec-proposals/blob/hs/proposal-admin-contact-1/proposals/1929-admin-contact.md

* Implement feedback from PR #1931

* Implement feedback from PR #1931

* Fix mixed indentation
2022-07-18 12:28:59 +03:00
Slavi Pantaleev 9abcb10f9f
Merge pull request #1946 from etkecc/update-redis
update redis 6.2.6 -> 7.0.3
2022-07-17 18:15:38 +03:00
Slavi Pantaleev f99ab3c2e2
Merge pull request #1945 from etkecc/update-sygnal
update sygnal 0.11.0 -> 0.12.0
2022-07-17 18:15:12 +03:00
Slavi Pantaleev 9ef680b45c
Merge pull request #1944 from etkecc/update-prometheus
update prometheus 2.36.2 -> 2.37.0
2022-07-17 18:10:05 +03:00
Slavi Pantaleev 411c42bee5
Merge pull request #1943 from etkecc/update-nginx
update nginx 1.21.6 -> 1.23.0
2022-07-17 18:09:37 +03:00
Slavi Pantaleev 3b3bfa29e9
Merge pull request #1942 from etkecc/update-grafana
update grafana 9.0.2 -> 9.0.3
2022-07-17 18:09:04 +03:00
Slavi Pantaleev fde4297703
Merge pull request #1941 from etkecc/update-dynamic-dns
update dynamic dns 3.9.1-ls89 -> 3.9.1-ls92
2022-07-17 18:08:37 +03:00
Aine 405d07527f
update sygnal 0.11.0 -> 0.12.0 2022-07-17 17:38:05 +03:00
Aine 22a55f4fa7
update redis 6.2.6 -> 7.0.3 2022-07-17 17:33:43 +03:00
Aine 4bc12fd560
update prometheus 2.36.2 -> 2.37.0 2022-07-17 17:31:41 +03:00
Aine a6506cf6ff
update nginx 1.21.6 -> 1.23.0 2022-07-17 17:29:50 +03:00
Aine ca11763e86
update grafana 9.0.2 -> 9.0.3 2022-07-17 17:26:33 +03:00
Aine 0ffac5bb45
update dynamic dns 3.9.1-ls89 -> 3.9.1-ls92 2022-07-17 17:24:51 +03:00
Aine 0453ccc716
update hydrogen 0.2.29 -> 0.2.33; sync config 2022-07-17 17:21:22 +03:00
Aine e3ff6ca01b
mautrix-whatsapp - fix more vars 2022-07-17 14:16:57 +03:00
Aine 88cff139ed
fix mautrix-whatsapp config 2022-07-17 10:29:45 +03:00
Aine e149f33140
add/unify 'Project source code URL' link across all roles 2022-07-16 23:59:21 +03:00
Slavi Pantaleev fa9b34b983
Try to make Jinja not trip up over syntax 2022-07-16 23:25:05 +03:00
Aine 91cbc8b2ff
Update mautrix whatsapp 0.5.0 -> 0.6.0 2022-07-16 22:28:53 +03:00
Slavi Pantaleev e94ec75e1a Remove matrix-bridge-mx-puppet-skype role 2022-07-14 18:09:19 +03:00
Slavi Pantaleev a1d0b58471 Try to do the signald (0.19.0) data migration automatically
Improvement over e4caf3fa81.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1921
2022-07-14 11:50:18 +03:00
Slavi Pantaleev f0450eeb5d
Merge pull request #1921 from pub-solar/bump/signal-bridge
signald: 0.18.5 -> 0.20.0
2022-07-14 10:29:43 +03:00
Julian-Samuel Gebühr 6b7191c939 Fix tabs issue for real 2022-07-12 01:22:20 +02:00
Slavi Pantaleev 3b85a9a994
Upgrade hookshot (1.7.3 -> 1.8.0) 2022-07-11 20:25:32 +03:00
Julian-Samuel Gebühr acf53f604b Fix homserver configuration url 2022-07-10 14:48:00 +02:00
Julian-Samuel Gebühr ffa20357ea Use http_bin_port and make networking clearer 2022-07-10 13:33:29 +02:00
Julian-Samuel Gebühr e62632bf5d Change from spaces to tabs 2022-07-10 11:04:49 +02:00
Julian-Samuel Gebühr 07fdb09f69 Rename with addition "url" 2022-07-10 10:10:30 +02:00
Julian-Samuel Gebühr 2e15bd85ea Rename with addition "unshared" 2022-07-10 10:09:55 +02:00
Julian-Samuel Gebühr 27b1835ed4 Fix uninstall (for real this time) 2022-07-10 10:06:17 +02:00
Julian-Samuel Gebühr f64c132927 Make database switchable 2022-07-10 09:51:27 +02:00
Julian-Samuel Gebühr 05c1333ebb Restrict permissions of container 2022-07-09 13:44:41 +02:00
Julian-Samuel Gebühr bcd7ec714b Add postgres configuration 2022-07-09 13:00:28 +02:00
Julian-Samuel Gebühr a842e9cd1d Fix uninstall (did not remove service) 2022-07-09 13:00:17 +02:00
Julian-Samuel Gebühr 135096e53a Add defaults 2022-07-09 11:55:49 +02:00
Julian-Samuel Gebühr 4ab516fca8 Fix linter 2022-07-09 11:42:18 +02:00
Julian-Samuel Gebühr 07cfd3ba09 Use custom invocation instead of provided script 2022-07-09 11:39:23 +02:00
Julian-Samuel Gebühr 59806ec3ea Fix typo in variable name 2022-07-09 11:25:35 +02:00
Julian-Samuel Gebühr ab94cb279c Merge branch 'maubot_moanos' of https://github.com/moan0s/matrix-docker-ansible-deploy into maubot_moanos 2022-07-09 11:10:16 +02:00
Slavi Pantaleev f1b52b6796 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-08 18:03:15 +03:00
Chirayu Desai b5c7fd6051
mjolnir: v1.5.0
https://github.com/matrix-org/mjolnir/releases/tag/v1.5.0
2022-07-08 19:26:35 +05:30
Julian Foad 25b343c8c8 matrix-ntfy: without nginx, bind to 127.0.0.1:2586 2022-07-08 12:02:06 +01:00
ThellraAK 95959ff20b
Changed whatsapp logging variable name to match (#1920)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1912

Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-07 07:54:03 +03:00
teutat3s 90269092bf
signald: 0.18.5 -> 0.20.0
https://gitlab.com/signald/signald/-/blob/main/releases/0.19.0.md
https://gitlab.com/signald/signald/-/blob/main/releases/0.19.1.md
https://gitlab.com/signald/signald/-/blob/main/releases/0.20.0.md
2022-07-06 11:57:24 +02:00
Slavi Pantaleev e074f9d4ed
Merge pull request #1919 from etkecc/patch-24
Update Synapse 1.61.1 -> 1.62.0
2022-07-05 18:26:48 +03:00
Aine fe347c85d9
Update Synapse 1.61.1 -> 1.62.0 2022-07-05 15:20:48 +00:00
Aine 95fd215521
Update element 1.10.15 -> 1.11.0 2022-07-05 15:11:52 +00:00
Slavi Pantaleev e4cbdd56d8 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-05 09:37:01 +03:00
3hhh 097c23c0b6
bots: make command_prefix configurable 2022-07-04 22:53:43 +02:00
Julian Foad e60d20dc6a matrix-ntfy: store settings in a config file 2022-07-04 21:30:29 +01:00
Julian Foad e119512c59 matrix-ntfy: add variable 'matrix_ntfy_base_url' 2022-07-04 15:32:13 +01:00
Julian Foad efe1f21f05 matrix-ntfy: fix and separate out uninstall tasks 2022-07-04 15:32:13 +01:00
Julian Foad 408e2e9b4e matrix-ntfy: remove almost-empty README.md 2022-07-04 15:32:13 +01:00
Julian Foad 3866fff5a8 matrix-ntfy: persist cache on disk 2022-07-04 15:32:13 +01:00
Julian Foad 763586e878 matrix-ntfy: add self-check 2022-07-04 15:32:13 +01:00
Julian Foad 85b12b74a7 matrix-ntfy: documentation 2022-07-04 15:32:07 +01:00
Julian Foad 2a516a16fb matrix-ntfy: enable WebSocket proxying 2022-07-04 15:31:37 +01:00
Julian Foad ec9f8e2931 Add a role to install 'ntfy' push-notification server.
This commit adds a 'matrix-ntfy' role that runs Ntfy server in Docker with
simple configuration, and plumbing to add the role to the playbook.

TODO: documentation, self-check, database persistence.
2022-07-04 15:31:29 +01:00
Slavi Pantaleev 2e4fad6194 Use 127.0.0.1 instead of localhost for federation API when nginx disabled
`localhost` may resolve to `::1` on some IPv6-enabled systems, which will
not work, because we only potentially expose container ports on
`127.0.0.1` when nginx is disabled (`matrix_nginx_proxy_enabled: false`),
not on `::1`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1914
2022-07-02 15:02:35 +03:00
Kabir Kwatra c3f85ae827 feat(jitsi+arm64): Enable Jitsi on arm64
fixes spantaleev/matrix-docker-ansible-deploy#1889

Support for arm64 images tracked in jitsi/docker-jitsi-meet#1214 and added in jitsi/docker-jitsi-meet#1269
2022-07-01 07:56:09 -07:00
ThellraAK 1c8f21c738 Adding logging configuration and default to the rest of the mautrixes that don't have them 2022-07-01 04:05:28 -08:00
Slavi Pantaleev a6a5f79a6f Relocate matrix_mautrix_facebook_logging_level in defaults/main.yml
Improvement to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1909
2022-07-01 14:32:42 +03:00
Slavi Pantaleev 71006393e0 Default mautrix-facebook to WARNING loggers by default
Overlooked in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1909
2022-07-01 14:31:28 +03:00
ThellraAK 06e51b06f1
Adding logging variable for facebook and setting it's default (#1909)
Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-01 14:22:02 +03:00
Slavi Pantaleev 95ca182ab5 Remove outdated logging configuration from Dimension
Related to 123a45bb21

Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1879

Not sure how bot-sdk's logging level can be adjusted. Seems like
Dimension now hardcodes `LogService.setLevel(LogLevel.DEBUG);` in its
startup code.
2022-06-30 12:10:36 +03:00
Slavi Pantaleev 5642c425ac
Merge pull request #1905 from aaronraimist/hydrogen-self-check
Fix Hydrogen self check
2022-06-29 18:14:26 +03:00
Aaron Raimist 6a99b3d532
Fix Hydrogen self check
Thanks to Julian for pointing this out
2022-06-29 15:09:29 +00:00
Stuart Mumford 320978cdf5 Enable setting database URI and other things 2022-06-29 13:17:03 +00:00
Stuart Mumford 6cc92854df enable setting database URL 2022-06-29 12:37:29 +00:00
Slavi Pantaleev c15bf2e019 Upgrade Grafana (9.0.1 -> 9.0.2) 2022-06-29 08:42:55 +03:00
Slavi Pantaleev c614b61e01 Fix mautrix-signal permissions configuration
Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
2022-06-28 17:54:00 +03:00
Julian-Samuel Gebühr 9d06ece5a4 Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into maubot_moanos 2022-06-28 16:33:46 +02:00
Slavi Pantaleev bff35926dc Upgrade Synapse (v1.61.0 -> v1.61.1) 2022-06-28 17:13:19 +03:00
Aine 5b38ee5371
add missing retry to the apache docker image pull 2022-06-28 08:27:57 +00:00
Aine 23ed70a6bb
fix typo 2022-06-27 11:38:21 +00:00
Slavi Pantaleev e27ecd6e76
Add matrix_admin example 2022-06-27 11:02:10 +03:00
Aine 44f2234c99
define matrix_admin in matrix-base 2022-06-27 10:34:04 +03:00
Aine 00192f6e94
mautrix-instagram, mautrix-signal: set delivery_error_reports: true 2022-06-26 21:19:56 +03:00
Aine cd88c06994
mautrix-twitter: update defaults 2022-06-26 21:16:43 +03:00
Aine ed8ef0d1f8
mautrix-telegram: update defaults 2022-06-26 21:09:31 +03:00
Aine 55d8e3dfdd
mautrix-based bridges: add matrix_admin 2022-06-26 21:03:21 +03:00
Aine d426dbbc32
missing var 2022-06-26 20:41:23 +03:00
Aine 2689a0981a
mautrix-based bridges - set log level = warn(ing) 2022-06-26 20:31:51 +03:00
Aine 5801017df0
mx-puppet-bridges - set log level = warn, set presence interval = 5s 2022-06-26 20:16:09 +03:00
Aine c71fea70d3
matrix-prometheus feedback 2022-06-26 12:01:57 +03:00
Aine 1542e8bca0
Update roles/matrix-prometheus/templates/systemd/matrix-prometheus.service.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-06-26 06:59:46 +00:00
Aine 574f57c82c
expose prometheus process args 2022-06-26 08:41:22 +03:00
Slavi Pantaleev fcf1ca2792
Merge pull request #1896 from etkecc/patch-19
Update Grafana (8.5.3 -> 9.0.1)
2022-06-25 22:32:40 +03:00
Aine c793fc5ff0
Update Prometheus (v2.33.3 -> v2.36.2) 2022-06-25 18:07:30 +00:00