Slavi Pantaleev
85c66a944f
Remove useless cast
3 years ago
Slavi Pantaleev
5a69c899a3
Upgrade matrix-synapse-shared-secret-auth (1.0.2 -> 2.0.2)
...
For now, we disable the new `com.devture.shared_secret_auth` login type
by default, because it causes problems with Element:
https://github.com/vector-im/element-web/issues/19605
This also becomes the first module to use the new Synapse module system
that got introduced in Synapse v1.46.0.
Despite these upgrades, things should remain functionally identical
as far as bridges, matrix-corporal or other consumers are concerned.
3 years ago
Slavi Pantaleev
e2e5db3b89
Do not use misleading with_items for a single file
3 years ago
Slavi Pantaleev
6c47b447e3
Do not use misleading with_items for a single file
3 years ago
Wunderharke
a24f7626bd
7330992b20
fixed the major_version compare and made foedora deployments to use setup_redhat8.yml. This however broke the script on fedora as there is no EPEL package. This commit add very basic fedora support.
3 years ago
Slavi Pantaleev
7330992b20
Do not compare ansible_distribution_major_version as a string
...
Fedora 35 is:
- `ansible_os_family = 'RedHat'`
- `ansible_distribution_major_version = '35'`
Our RedHat checks against v7/v8 are really for RHEL derivatives (CentOS, Rockylinux,
AlmaLinux), but the same checks (by coincidence) apply for Fedora 35.
The problem is that `'35' > '7'` (comparing these as strings) is
`false`.
This patch makes sure that we always cast
`ansible_distribution_major_version` to an integer.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1610
3 years ago
Slavi Pantaleev
e0df99a7de
Fix typo
3 years ago
Slavi Pantaleev
94c9780f7a
Fix matrix_synapse_encryption_enabled_by_default_for_room_type
...
The value of `off` was taken to be a boolean, but it shouldn't be.
Synapse expects a string (currently one of: `all`, `invite`, `off`).
3 years ago
Slavi Pantaleev
5addb889b1
Fix inconsistent spacing
3 years ago
Marko Weltzer
d27e623c71
fix: manually merge upstream
3 years ago
Slavi Pantaleev
5163aa643a
Upgrade Synapse (1.51.0 -> 1.52.0)
...
This also removes the `matrix_synapse_version_arm64` variable we've
been dragging around for a long time.
Since https://github.com/matrix-org/synapse/pull/11810 , a multiarch Synapse
container image (for AMD64 and ARM64) is released at the same time.
3 years ago
Slavi Pantaleev
a095accce7
Replace some CentOS references to support other RHEL derivatives
...
Not hardcoding 'CentOS' and using the OS family ('RedHat') instead,
we now behave better on Rockylinux and AlmaLinux, etc.
With that said, we may or may not fully support CentOS/Rockylinux/AlmaLinux v8 yet.
Certain things were improved in
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/300 .
v8 support is discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/300
Certain things (firewalld?) may still be problematic. This patch does not try to address those.
If the remaining issues are confirmed to be fixed in the future, we can mark v8 as supported.
3 years ago
Marko Weltzer
819574b8ba
Merge branch 'spantaleev:master' into master
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Slavi Pantaleev
b244ab477c
Upgrade email2matrix (1.0.2 -> 1.0.3)
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1605
Fixes a regression introduced in ccb85b31a4
. The
`docker.io/devture/email2matrix:1.0.2` container image was faulty due to
this 49f966d6cc
3 years ago
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
...
Reverts b1b4ba501f
, 90c9801c56
, a3c84f78ca
, ..
I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.
`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
3 years ago
Slavi Pantaleev
d07e50a04f
Merge pull request #1604 from GoliathLabs/prometheus
...
Updated: prometheus to v.2.33.1
3 years ago
Slavi Pantaleev
a66f5d35d6
Merge pull request #1603 from GoliathLabs/nginx-proxy
...
Updated: nginx to 1.21.6-alpine
3 years ago
Slavi Pantaleev
c9c79d935e
Merge pull request #1601 from GoliathLabs/grafana
...
Updated: grafana to 8.3.4
3 years ago
Slavi Pantaleev
eea58c9c44
Merge pull request #1600 from GoliathLabs/dynamic-dns
...
Updated: ddclient to v3.9.1-ls77
3 years ago
GoliathLabs
e0a088dbe3
Updated: prometheus to v.2.33.1
3 years ago
GoliathLabs
33851f1dfa
Updated: nginx to 1.21.6-alpine
3 years ago
GoliathLabs
e27e0b28c8
Updated: grafana to 8.3.4
3 years ago
GoliathLabs
509466018b
Updated: ddclient to v3.9.1-ls77
3 years ago
GoliathLabs
b4ecadcb2f
Updated: Heisenbridge to 1.10.1
3 years ago
Slavi Pantaleev
ccb85b31a4
Upgrade devture/email2matrix (1.0.1 -> 1.0.2) and disable self-building on ARM32/ARM64
...
1.0.2 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
Slavi Pantaleev
45fbcc56da
Upgrade devture/exim-relay (4.95-r0-1 -> 4.95-r0-2)
...
4.95-r0-1 was problematic, because `/etc/exim/exim.conf` in the
container had the wrong permissions (writable by the `exim` user).
Fixed in 697f3cff7e
which is built as 4.95-r0-2
3 years ago
Slavi Pantaleev
133d85fedf
Upgrade Element (1.10.0 -> 1.10.1)
3 years ago
Slavi Pantaleev
1099ccab43
Upgrade devture/exim-relay (4.95-r0 -> 4.95-r0-1) and disable self-building on ARM32/ARM64
...
4.95-r0-1 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
Slavi Pantaleev
0ec86d40ac
Merge pull request #1588 from FSG-Cat/patch-2
...
Update Mjolnir from v1.2.1 to v1.3.1
3 years ago
Catalan Lover
1f21799782
Update Mjolnir from v1.2.1 to v1.3.1
3 years ago
Catalan Lover
c03f69fe93
Update Hydrogen from v0.2.23 to v0.2.25
3 years ago
Slavi Pantaleev
e295c90d0b
Merge pull request #1505 from HarHarLinks/hookshot
...
add matrix-hookshot
3 years ago
Slavi Pantaleev
4216807c86
Upgrade Element (1.9.9 -> 1.10.0)
3 years ago
Slavi Pantaleev
4a4d718f7c
Upgrade matrix-corporal (2.2.2 -> 2.2.3) and disable self-building on ARM32/ARM64
...
2.2.3 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
AtomHare
d93b8bb57a
Upgrade Mautrix/Facebook (0.3.2 -> 0.3.3)
...
Not tested but shouldn't break something
3 years ago
HarHarLinks
51baa40eff
fixup! escape hookshot variables using to_json
3 years ago
HarHarLinks
99cf6adf95
fixup! update hookshot private key installation method
3 years ago
HarHarLinks
5300dc7a8b
update hookshot/defaults/main.yml comments
3 years ago
HarHarLinks
f136c1fb8f
fixup! add some hookshot config validation
3 years ago
HarHarLinks
2a91a43b32
Merge remote-tracking branch 'origin/master' into hookshot
3 years ago
HarHarLinks
4477711e79
add some hookshot config validation
3 years ago
HarHarLinks
f47bfdfb4f
remove hookshot uninstall comments based on feedback
3 years ago
HarHarLinks
29d0b277f4
fix hookshot missing figma config variable
3 years ago
HarHarLinks
a3c84f78ca
update hookshot.service to ExecStopPost
3 years ago
HarHarLinks
99802bc143
escape hookshot variables using to_json
3 years ago
Aine
211b0ad3b5
Update honoroit (v0.9.3 -> v0.9.4)
3 years ago
Slavi Pantaleev
fce190099a
Use |to_json for matrix_mx_puppet_slack_oauth_client_secret
3 years ago
Jim Myhrberg
7ae70c27e6
feat(mx-puppet-slack): add support for OAuth client ID/secret
...
The OAuth credentials method seems to be the only viable way to
configure the mx-puppet-bridge now. Legacy tokens can no longer be
created, and the other methods (xoxs and xoxc tokens) come with warnings
about them being against Slack's terms of service.
3 years ago
Slavi Pantaleev
11c0dcf2ac
Upgrade Cinny (1.6.1 -> 1.7.0)
...
(untested change, but unlikely to cause breakage)
3 years ago
Slavi Pantaleev
ad082b3b1b
Fix self-building for Synapse v1.51.0 (requires BuildKit)
...
Synapse v1.51.0 requires to be built with BuildKit since
https://github.com/matrix-org/synapse/pull/11691
The `docker_image` Ansible module does not support BuildKit
(https://github.com/ansible-collections/community.general/issues/514 ),
so we had to switch to a `docker build` call.
3 years ago
Slavi Pantaleev
cf46b7fed5
Upgrade Synapse (1.50.2 -> 1.51.0)
3 years ago
Catalan Lover
f59f903c04
Update Synapse from 1.50.1 to 1.50.2
...
Fixes a issue with room version 1.
Merging has to wait until ARM images are built ofc.
3 years ago
Thracky
b02aa4b799
Add missing slash in url scheme for mediaUrl
3 years ago
HarHarLinks
a1a5b16185
update hookshot private key installation method
3 years ago
HarHarLinks
5d07f14235
install openssl for hookshot
...
using b33ea48
3 years ago
GoliathLabs
c6287083e4
Updated: prom-postgres-exporter to v0.10.1
3 years ago
Wm Salt Hale
88b832a818
updated task names leftover from template used
3 years ago
Wm Salt Hale
3aa8c1f62c
only enable openssl if necessary
3 years ago
Aine
51b27de1bb
matrix-bot-honoroit: bugfix commands in reply-to mode, add custom prefixes for thread topics
3 years ago
Slavi Pantaleev
bcfae766a1
Merge pull request #1567 from aaronraimist/antispam
...
Upgrade synapse-simple-antispam (0.0.3 -> 0.0.7)
3 years ago
Aaron Raimist
ff94d815e1
Upgrade synapse-simple-antispam (0.0.3 -> 0.0.7)
3 years ago
Wm Salt Hale
ad8d4740a7
Merge branch 'spantaleev:master' into default_room_version_9
3 years ago
Slavi Pantaleev
4cd44f117d
Upgrade Synapse (1.50.0 -> 1.50.1)
...
v1.50.0 was found to be buggy for people using a `webclient` listener.
This is fixed in v1.50.1.
We don't use such a listener, so we weren't affected anyway.
3 years ago
Slavi Pantaleev
5f22371c23
Upgrade Synapse (1.49.2 -> 1.50.0)
3 years ago
Slavi Pantaleev
1b151a59ad
Merge pull request #1562 from GoliathLabs/element-web
...
Updated: element-web to v1.9.9
3 years ago
GoliathLabs
3614903e38
Updated: element-web to v1.9.9
3 years ago
Slavi Pantaleev
06d188ee2d
Merge pull request #1561 from GoliathLabs/certbot
...
Updated: Certbot to v1.22.0
3 years ago
GoliathLabs
b608c3d342
Updated: worker_processes to auto
3 years ago
GoliathLabs
8a66db850e
Updated: Certbot to v1.22.0
3 years ago
Slavi Pantaleev
a1460616d6
Merge pull request #1560 from GoliathLabs/twitter
...
Updated: mautrix-twitter to v0.1.3
3 years ago
Slavi Pantaleev
14d58b8e95
Merge pull request #1559 from GoliathLabs/whatsapp
...
Added: mautrix-whatsapp v0.2.3 tag
3 years ago
GoliathLabs
94d31eefd3
Updated: mautrix-twitter to v0.1.3
3 years ago
Slavi Pantaleev
098d21a7b7
Merge pull request #1558 from GoliathLabs/signal
...
Added: mautrix-signal 0.2.2 & signald 0.16.1
3 years ago
GoliathLabs
46f621bca6
Added: mautrix-whatsapp v0.2.3 tag
3 years ago
GoliathLabs
6f142faf85
Added: mautrix-signal 0.2.2 & signald 0.16.1
3 years ago
GoliathLabs
29668f4a33
Updated: telegram to v0.11.1
3 years ago
Aine
05541bd54a
Updated Honoroit with fallback reply-to mode
3 years ago
Slavi Pantaleev
d0030b2de9
Merge pull request #1555 from GoliathLabs/master
...
Added Instagram version tag instead of latest
3 years ago
Felix
8f0da16621
Added: version tag (v0.1.2
3 years ago
Slavi Pantaleev
1fd8bcc0bc
Merge pull request #1547 from GoliathLabs/jitsi
...
Updated: version to stable-6726-2
3 years ago
Slavi Pantaleev
e8077485f2
Merge pull request #1551 from GoliathLabs/node-exporter
...
Updated: node-exporter to v1.3.1
3 years ago
Slavi Pantaleev
5a3f0eacf5
Merge pull request #1553 from GoliathLabs/appservice-slack
...
Updated: slack to 1.10.0
3 years ago
Slavi Pantaleev
efa5ac6064
Merge pull request #1550 from GoliathLabs/sygnal
...
Updated: sygnal to v0.11.0
3 years ago
Slavi Pantaleev
dd44d07100
Merge pull request #1548 from GoliathLabs/appservice-webhooks
...
Updated: webhooks image tag to v1.0.3-01
3 years ago
Slavi Pantaleev
1122a481fd
Merge pull request #1546 from GoliathLabs/dynamic-dns
...
Updated: ddclient to v3.9.1-ls76
3 years ago
GoliathLabs
dec1bd6c65
Updated: slack to 1.10.0
3 years ago
GoliathLabs
f2f4d5ba21
Updated: node-exporter to v1.3.1
3 years ago
GoliathLabs
6bdb599a58
Updated: sygnal to v0.11.0
3 years ago
GoliathLabs
dcbd0a598e
Updated: beeper-linkedin to v0.5.2
3 years ago
GoliathLabs
7dffd44171
Updated: webhooks image tag to v1.0.3-01
3 years ago
GoliathLabs
be4c93dc24
Updated: version to stable-6726-2
3 years ago
GoliathLabs
b0b88242f2
Updated: ddclient to v3.9.1-ls76
3 years ago
Slavi Pantaleev
b87cf31d59
Merge pull request #1543 from aaronraimist/hydrogen
...
Upgrade Hydrogen (0.2.19 -> 0.2.23)
3 years ago
Slavi Pantaleev
cba605a8b7
Fix go-neb sample configuration to not clash with Jinja2
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1544
3 years ago
Aaron Raimist
02c1756135
Upgrade Hydrogen (0.2.19 -> 0.2.23)
3 years ago
HarHarLinks
321ed9b609
Merge remote-tracking branch 'origin/master' into hookshot
3 years ago
HarHarLinks
df074151cd
update default hookshot webhook mxid prefix
3 years ago
HarHarLinks
58b732a84d
support hookshot permissions management
...
see Half-Shot/matrix-hookshot#167
3 years ago
IUCCA
49342bd3a7
added writable /tmp directory
3 years ago
Toni Spets
037bde73a6
Upgrade Heisenbridge (1.9.0 -> 1.10.0)
3 years ago
HarHarLinks
6f32db3063
fix matrix_hookshot_github_oauth_uri
3 years ago
HarHarLinks
8498ffd8f7
name hookshot github private key consistently
3 years ago
HarHarLinks
28c9e7aac2
fix hookshot commandPrefix jinja2
3 years ago
HarHarLinks
f12cad7a7b
rename hookshot *.yaml to *.yml
3 years ago
HarHarLinks
23d6b2d3da
update hookshot github private key path and install condition
3 years ago
HarHarLinks
964479d3d3
.gitkeep matrix-bridge-hookshot/files
...
needed for users to put private-key.pem in
3 years ago
HarHarLinks
3a766d4ba5
proxy hookshot metrics when proxying synapse metrics
...
see also #1527
3 years ago
HarHarLinks
8b19f56ef8
add hookshot config validation
3 years ago
HarHarLinks
206a093d56
fix hookshot docker image name
3 years ago
HarHarLinks
65991de61c
update hookshot private key file mechanism
3 years ago
HarHarLinks
87871040df
add hookshot metrics to internal prometheus
3 years ago
HarHarLinks
1987cc4839
refine hookshot role
3 years ago
Slavi Pantaleev
ac515b7f09
Fix incorrect variables being used
3 years ago
Slavi Pantaleev
29bc22a085
Add matrix_nginx_proxy_container_additional_networks
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1498
3 years ago
Slavi Pantaleev
7d96526b53
Merge pull request #1524 from GoMatrixHosting/gomatrixhosting-testing
...
update new variable for matrix-awx, update documentation
3 years ago
PC-Admin
e72ecf2c65
update new variable for matrix-awx, update documentation
3 years ago
Aine
4377c348c5
matrix-bot-honoroit: disable self-build by default, update to v0.9.1
3 years ago
Slavi Pantaleev
c12c224322
Merge pull request #1521 from HarHarLinks/webhooks_tag
...
pin appservice-webhooks version v1.0.2-01
3 years ago
HarHarLinks
b50494e5b3
pin appservice-webhooks version v1.0.2-01
3 years ago
Slavi Pantaleev
27a4871aea
Fix variable name typo
3 years ago
Slavi Pantaleev
817d6833bf
Try to fix self-building for honoroit (fix incorrect Dockerfile path)
...
Hopefully fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1518
3 years ago
HarHarLinks
ebf33f46b7
update hookshot passkey.pem path according to docs
...
https://github.com/Half-Shot/matrix-hookshot/issues/133#issuecomment-1007541580
3 years ago
HarHarLinks
912c238847
Upgrade Hookshot (1.0.0 -> 1.1.0)
3 years ago
HarHarLinks
495bfedc0d
refine hookshot role using `--test`
3 years ago
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
...
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
3 years ago
Slavi Pantaleev
0f59c4056e
Set up well-known when invoked with the setup-dendrite tag
3 years ago
Slavi Pantaleev
139c574cdb
Move checks from unused validate_config.yml file elsewhere
3 years ago
Slavi Pantaleev
90c9801c56
Use ExecStopPost instead of ExecStop
...
This is the equivalent of b1b4ba501f
for the matrix-dendrite role.
3 years ago
Slavi Pantaleev
61c0930325
Suppress output for ExecStartPre/ExecStop commands
...
This brings matrix-dendrite.service in line with all the other services.
3 years ago
Slavi Pantaleev
5c3c0d0d58
Set Dendrite's real_ip_header correctly
3 years ago
Slavi Pantaleev
05b4572fab
Fix matrix_dimension_homeserver_federationUrl for Dendrite
3 years ago
Slavi Pantaleev
965890bf75
Derive secrets from matrix_homeserver_generic_secret_key, not matrix_synapse_macaroon_secret_key
...
We're trying to move away from implementation-specific variables,
hoping for a clean (implementation-neutral) examples/vars.yml file.
3 years ago
Slavi Pantaleev
1dfe21944f
Make matrix_homeserver_implementation influence matrix_IMPLEMENTATION_enabled, not the other way around
...
Doing this seems more reasonable and simpler.
3 years ago
Slavi Pantaleev
4139290cc9
Rename some variables for consistency
3 years ago
Slavi Pantaleev
2bd33e5cf2
Make --tags=register-user work for both Dendrite/Synapse
...
Also get rid of `--tags=update-user-password` in the
`matrix-dendrite` role, as what we had doesn't work.
We may be able to do it with some Ansible helper or something else.
For now, we'll omit this feature.
3 years ago
Slavi Pantaleev
f8a8d7d310
Fix /usr/local/bin/matrix-dendrite-create-account
...
We also need to fix `--tags=register-user`. This tag is currently
defined in both the `matrix-synapse` and `matrix-dendrite` roles.
3 years ago
Slavi Pantaleev
b297e8ee2b
Delay Dendrite startup so that matrix-postgres.service can start
3 years ago
Slavi Pantaleev
9f6e8f5eaf
Remove matrix_s3 references from matrix-dendrite role
...
All the `matrix_s3_*` stuff happens in the `matrix-synapse` role.
If we are to have such S3 support for Dendrite, we should probably
extract it out of the `matrix-synapse` role (into a `matrix-s3` role or
`matrix-goofys`, etc.) and wire `matrix-dendrite` accordingly.
This may or may not be done in the future though. For now, I'm
cleaning things up in the `matrix-dendrite` role.
3 years ago
Slavi Pantaleev
3b9d5b13e9
Add support for not serving Dendrite federation APIs on the client port
...
Seems like Dendrite encourages serving both the Client and Federation
API at the same port.
Coming from Synapse and how things are done there, we have separate
ports. Using separate ports probably makes matrix-corporal (etc.)
integration easier, so separating the APIs by default probably makes
sense.
3 years ago
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
3 years ago
Slavi Pantaleev
2f57c51733
Remove useless check
...
Since 025a5ab5e5f6bdb3, we do a similar check in matrix-base.
3 years ago
Slavi Pantaleev
3cf9f87097
Add matrix_homeserver_implementation, tracking the current homeserver implementation
...
The goal is to have a single variable which tells us which homeserver
software is in use. Much simpler than having if/elif/elif checks for
variables like (`matrix_synapse_enabled` and `matrix_dendrite_enabled`, etc.)
everywhere.
3 years ago
Slavi Pantaleev
63968cb04f
Upgrade Dendrite (0.5.0 -> 0.5.1)
3 years ago
Slavi Pantaleev
b2b62b7221
Add a variable to control Dendrite's disable_federation setting
3 years ago
Slavi Pantaleev
5b148921a0
Upgrade Dendrite (0.3.11 -> 0.5.0) and update configuration
...
This brings dendrite.yaml up to date and cleans things up a bit.
3 years ago
Slavi Pantaleev
ccd3dc7a57
Remove Dendrite file logging
...
We refrain from logging to files for all components,
because we rely on systemd-journald anyway.
3 years ago
Jip J. Dekker
953a9ac718
Upgrade Dendrite (0.3.9 -> 0.3.11)
3 years ago
Jip J. Dekker
cde2504966
Upgrade Dendrite (0.3.8 -> 0.3.9)
3 years ago
Aaron Raimist
265d048597
Upgrade Dendrite (0.3.6 -> 0.3.8)
3 years ago