Commit Graph
100 Commits
Author SHA1 Message Date
Slavi Pantaleev 1727ecd888 Make yamllint happy (take 2)
> Error:   19:3      error    wrong indentation: expected 4 but found 2  (indentation)
2022-06-23 18:00:32 +03:00
Slavi Pantaleev 9aab7f9c37 Make yamllint happy
Fixup for ba51997f7b
2022-06-23 17:57:59 +03:00
Slavi Pantaleev ba51997f7b (BC Break) Redo how metrics are exposed to external Prometheus servers 2022-06-23 17:55:07 +03:00
Slavi Pantaleev a3a6e14f7b Add matrix_nginx_proxy_proxy_synapse_metrics_addr_{with,sans}_container variables to defaults
We redefine these variables in `group_vars/matrix_servers`, but it's better
to have some defaults in the role as well.
2022-06-22 23:04:27 +03:00
Slavi Pantaleev 2e68c9963b Fix matrix-prometheus-postgres-exporter port number in some comments 2022-06-22 22:50:43 +03:00
Slavi Pantaleev f4cf7b9cc1 Remove unused variable (matrix_nginx_proxy_synapse_workers_enabled_list) definition 2022-06-22 22:17:51 +03:00
Slavi Pantaleev f943e82384 Upgrade Certbot (1.27 -> 1.28) 2022-06-22 14:44:12 +03:00
Slavi Pantaleev 5963a387f0 Upgrade Postgres (14.3 -> 14.4) 2022-06-22 14:43:55 +03:00
Slavi PantaleevandGitHub add8bc37e6 Merge pull request #1891 from krassle/master
Use prebuilt ARM images for coturn / synapse-admin
2022-06-22 13:02:34 +03:00
Slavi PantaleevandGitHub a06e98d398 Merge pull request #1888 from etkecc/master
Update Buscarron 1.1.0 -> 1.2.0
2022-06-21 07:59:46 +03:00
Slavi PantaleevandGitHub de742830e7 Merge pull request #1886 from davidmehren/fix/worker_x_forwarded
Synapse workers should respect X-Forwarded headers
2022-06-19 08:52:31 +03:00
Slavi Pantaleev 38027e72f6 Fix "object of type 'NoneType' has no len()" error
Fixup for 5eff67371d - https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1884
2022-06-17 15:45:29 +03:00
Slavi PantaleevandGitHub 7440dd34fb Merge pull request #1884 from etkecc/master
add synapse media_retention
2022-06-17 15:31:55 +03:00
Slavi PantaleevandGitHub 5987589436 Use |to_json 2022-06-17 15:30:22 +03:00
Slavi Pantaleev 323f5aa60d Synchronize homeserver.yaml config with the one from Synapse 1.61.0 2022-06-17 15:26:23 +03:00
Slavi PantaleevandGitHub 2edbabe652 Merge pull request #1883 from etkecc/patch-18
Update mautrix-whatsapp 0.4.0 -> 0.5.0
2022-06-16 19:53:17 +03:00
Slavi Pantaleev 6a573399ae Upgrade Synapse (v1.60.0 -> v1.61.0) 2022-06-14 17:15:27 +03:00
Slavi Pantaleev 37b584ef58 Upgrade matrix-corporal (2.2.3 -> 2.3.0)
matrix-corporal 2.3.0 supports Synapse v1.61.0 (which removed
communities/groups support).
2022-06-14 17:15:27 +03:00
Slavi PantaleevandGitHub 56d130b8cb Merge pull request #1880 from etkecc/patch-17
Update Element v1.10.14 -> v1.10.15
2022-06-14 16:46:39 +03:00
Slavi PantaleevandGitHub fe0b60c40b Merge pull request #1878 from CyberShadow/go-skype-bridge-docs
Doc fixups for go-skype-bridge
2022-06-13 09:43:55 +03:00
Slavi PantaleevandGitHub e539774d9b Merge pull request #1877 from CyberShadow/go-skype-bridge
Add Go Skype Bridge
2022-06-13 08:06:26 +03:00
Slavi Pantaleev 5e9e8f9e29 Announce go-skype-bridge support 2022-06-13 08:02:31 +03:00
Slavi PantaleevandGitHub bc4d29bbb0 Merge pull request #1875 from 3hhh/master
Whatsapp bridge: Logging improvements
2022-06-11 09:52:17 +03:00
Slavi Pantaleev 99c24ef0e8 Upgrade Hookshot (1.7.2 -> 1.7.3) 2022-06-09 20:52:56 +03:00
Slavi PantaleevandGitHub f3924d15cd Merge pull request #1872 from seclution/patch-1
update PIP install-link
2022-06-09 15:19:29 +03:00
Slavi Pantaleev c05f47666f Announce the ability to run Ansible in a container on the Matrix server
Continuation of 959a6ac0b1
2022-06-09 14:47:04 +03:00
Slavi Pantaleev 959a6ac0b1 Upgrade devture/ansible version and documen nsenter usage
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1772
2022-06-09 14:42:04 +03:00
Slavi Pantaleev 12b28a4749 Upgrade Hookshot (1.7.0 -> 1.7.2) 2022-06-09 14:13:53 +03:00
Slavi Pantaleev 4a72c90a6b Upgrade Element (v1.10.13 -> v1.10.14) 2022-06-07 14:34:02 +03:00
Slavi PantaleevandGitHub d9d392a0b1 Merge pull request #1871 from rubenh-be/update_mautrix_gchat
Updated mautrix-googlechat to v0.3.3
2022-06-06 12:37:44 +03:00
Slavi PantaleevandGitHub 3c53b85116 Merge pull request #1867 from roughnecks/fix-mautrix-whatsapp-status-endpoint
Fix string "null" in status_endpoint
2022-06-02 21:34:31 +03:00
Slavi Pantaleev 8ea7cd73cf Fix self-building for matrix-registration
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1864

Related to https://github.com/zeratax/matrix-registration/issues/93

This is a poor way to do things though. It may break again in the future.
matrix-registration is a poorly maintained project and should likely be removed from the playbook.
2022-06-01 09:43:31 +03:00
Slavi PantaleevandGitHub a3adf71d7d Merge pull request #1863 from etkecc/master
update Honoroit 0.9.8 -> 0.9.9
2022-05-31 21:56:08 +03:00
Slavi Pantaleev 2c1da0ac2a Switch matrix_encryption_disabler back to upstream repository
Now that https://github.com/digitalentity/matrix_encryption_disabler/pull/9
has been merged, we can get the module from there.

Continuation of 246c43be1e
2022-05-31 17:35:22 +03:00
Slavi Pantaleev 246c43be1e Upgrade Synapse (v1.59.1 -> v1.60.0) 2022-05-31 17:24:38 +03:00
Slavi Pantaleev 78204619ea Stop using deprecated (in Synapse v1.59) user_dir and appservice workers
Source: https://github.com/matrix-org/synapse/blob/v1.59.0/docs/upgrade.md#deprecation-of-the-synapseappappservice-and-synapseappuser_dir-worker-application-types

As an alternative, we should probably find a way to run one or a few
more generic workers (which will handle appservice and user_dir stuff) and
update `homeserver.yaml` so that it would point to the name of these workers using
`notify_appservices_from_worker` and `update_user_directory_from_worker` options.

For now, this solves the deprecation, so we can have a peace of mind
going forward.

We're force-setting these worker counts to 0, so that we can clean up
existing homeservers which use these worker types. In the future, these
options will either be removed or repurposed (so that they transparently
create more generic workers that handle user_dir/appservice loads).
2022-05-31 16:35:50 +03:00
Slavi PantaleevandGitHub e9db1eea9e Merge pull request #1862 from etkecc/patch-16
Update Honoroit 0.9.7 -> 0.9.8
2022-05-31 14:36:46 +03:00
Slavi PantaleevandGitHub 37e6ea72e8 Merge pull request #1860 from etkecc/patch-15
Update Cinny 2.0.3 -> 2.0.4
2022-05-29 15:44:27 +03:00
Slavi PantaleevandGitHub 71a6dfee28 Merge pull request #1853 from shukon/fix-dead-link-in-docs
Fix dead-links in configuring-playbook-bridge-hookshot.md
2022-05-25 18:47:56 +03:00
Slavi PantaleevandGitHub dcf4ae5fcc Merge pull request #1852 from etkecc/patch-14
Updated signal daemon 0.18.1 -> 0.18.5
2022-05-25 12:09:21 +03:00
Slavi PantaleevandGitHub 3ba960cf96 Merge pull request #1851 from etkecc/patch-13
Updated Element 1.10.12 -> 1.10.13
2022-05-24 17:30:23 +03:00
Slavi PantaleevandGitHub d340f311cb Merge pull request #1850 from etkecc/patch-12
Update coturn 4.5.2-r11 -> 4.5.2-r12
2022-05-24 15:15:00 +03:00
Slavi PantaleevandGitHub 63c755b115 Merge pull request #1837 from Lyokovic/vicx/fix-ldap-simple-bind
Fix synapse LDAP simple bind config
2022-05-24 10:40:28 +03:00
Slavi PantaleevandGitHub e740249bc7 Merge pull request #1848 from wibbene/master
HOTFIX: Update Matrix-Registration-Bot main.yml
2022-05-21 17:30:33 +02:00
Slavi Pantaleev 271a8d0a73 Upgrade certbot (v1.23.0 -> v1.27.0) 2022-05-21 10:20:56 +03:00
Slavi PantaleevandGitHub 746a25fabf Merge pull request #1838 from GoliathLabs/matrix-registration-bot
Set version to v1.1.5
2022-05-20 21:36:13 +02:00
Slavi PantaleevandGitHub 62f7bd3780 Merge pull request #1840 from GoliathLabs/matrix-mautrix-googlechat
Updated: mautrix-googlechat to v0.3.2
2022-05-20 21:35:50 +02:00
Slavi PantaleevandGitHub f46f288492 Merge pull request #1845 from GoliathLabs/grafana
Updated: grafana to 8.5.3
2022-05-20 21:35:24 +02:00
Slavi PantaleevandGitHub 612c64e009 Merge pull request #1844 from GoliathLabs/etherpad
Updated: etherpad to 1.8.18
2022-05-20 21:34:57 +02:00
Slavi PantaleevandGitHub 615417b87f Merge pull request #1843 from GoliathLabs/linuxserver-ddclient
Updated: ddclient to v3.9.1-ls89
2022-05-20 21:34:25 +02:00
Slavi PantaleevandGitHub d1651f3f60 Merge pull request #1842 from GoliathLabs/hydrogen-web
Updated: hydrogen-web to v0.2.29
2022-05-20 21:34:01 +02:00
Slavi PantaleevandGitHub 4abce49cd6 Merge pull request #1841 from GoliathLabs/mautrix-twitter
Updated: mautrix-twitter to v0.1.4
2022-05-20 21:33:32 +02:00
Slavi PantaleevandGitHub 830b4b24c1 Merge pull request #1839 from GoliathLabs/matrix-bot-mjolnir
Updated: mjolnir to v1.4.2
2022-05-20 21:32:57 +02:00
Slavi PantaleevandGitHub c945f38c52 Merge pull request #1818 from paulRbr/bridge-mautrix-signal-encryption
Bridge mautrix signal and mautrix whatsapp encryption
2022-05-18 14:50:26 +02:00
Slavi Pantaleev 677a2fc503 Fix compatibility with ansible=6 / ansible-core=2.13
Details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_6.html#id36

Basically:

```yaml
- name: Prior to 2.13
  debug:
    msg: '[1] + {{ [2] }}'

- name: 2.13 and forward
  debug:
    msg: '{{ [1] + [2] }}'
```

Interestingly, we had been using the new/safe syntax in lofs of places.

We were using the broken one in many others though. Hopefully all
instances were fixed by this patch.
2022-05-18 15:43:39 +03:00
Slavi PantaleevandGitHub 98fecf95a6 Merge pull request #1836 from etkecc/patch-11
Update Synapse v1.59.0 -> v.1.59.1
2022-05-18 14:09:59 +02:00
Slavi Pantaleev a1e5ecf551 Upgrade hookshot (1.6.1 -> 1.7.0)
This new version should be buildable on arm64.

See: https://github.com/matrix-org/matrix-hookshot/releases/tag/1.7.0

There's still no prebuild arm64 image, so we continue relying on
self-building there.
2022-05-18 14:43:16 +03:00
Slavi PantaleevandGitHub 468d492fd4 Merge pull request #1831 from etkecc/patch-9
Update Postgres (CVE-2022-1552 + last 9.x update)
2022-05-18 12:32:28 +02:00
Slavi PantaleevandGitHub 5b09cbd27d Merge pull request #1835 from etkecc/patch-10
Update mautrix-whatsapp v0.3.1 -> v0.4.0
2022-05-18 12:31:23 +02:00
Slavi PantaleevandGitHub de378c6390 Merge pull request #1834 from hifi/patch-8
Upgrade Heisenbridge (1.12.0 -> 1.13.0)
2022-05-18 11:50:45 +02:00
Slavi Pantaleev f972a80224 Upgrade Synapse (1.58.1 -> 1.59.0) 2022-05-17 13:08:17 +03:00
Slavi Pantaleev bab1ee2233 Work around mx-puppet-discord failing with "No relay found" after reboot
Related to https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/issues/117

Looks like the bridge is too quick to start and fails to initialize
itself by connecting to Synapse. It's mostly observed after a system
reboot, because Synapse (and everything else) is slower to start.

Once mx-puppet-discord fails to initialize itself, a "No relay found"
error will be observed any time you try to relay a Matrix message to
Discord. Relaying messages in the other direction (Discord to Matrix)
also fails.

With this workaround (longer delay on mx-puppet-discord startup), I
observe mx-puppet-discord working well, even after a full reboot.
Of course, a proper fix is preferable, instead of delaying by a magic
number of seconds.
2022-05-17 11:34:00 +03:00
Slavi PantaleevandGitHub f21269f441 Upgrade mx-puppet-slack (v0.1.1 -> v0.1.2)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1829
2022-05-16 21:40:31 +03:00
Slavi PantaleevandGitHub 99931af532 Merge pull request #1825 from dsonck92/change-to-upstream
Change back to working original mx-puppet-slack
2022-05-16 07:39:00 +02:00
Slavi PantaleevandGitHub 3e90dc445a Merge pull request #1828 from aaronraimist/element-self-build
Update Element self build repo URL
2022-05-16 07:36:57 +02:00
Slavi PantaleevandGitHub d286c60cdb Merge pull request #1827 from aaronraimist/git-prereq
Document `git` as a potential prereq
2022-05-16 07:36:41 +02:00
Slavi PantaleevandGitHub 637073c72b Merge pull request #1826 from etkecc/patch-8
Update Cinny v2.0.2 -> v2.0.3
2022-05-15 08:32:46 +02:00
Slavi PantaleevandGitHub b5a0839507 Merge pull request #1823 from etkecc/patch-7
Update Cinny v2.0.1 -> v2.0.2
2022-05-14 14:11:31 +02:00
Slavi PantaleevandGitHub 45f8810a00 Merge pull request #1822 from etkecc/patch-6
Update Cinny v2.0.0 -> v2.0.1
2022-05-13 18:59:27 +02:00
Slavi PantaleevandGitHub d76194acf6 Merge pull request #1821 from luismanson/patch-3
Update configuring-playbook-bridge-hookshot.md
2022-05-13 17:01:50 +02:00
Slavi PantaleevandGitHub fb8af6c678 Merge pull request #1820 from brush/master
Suggested fix to docs for reverse proxy for well-known file
2022-05-13 13:00:40 +02:00
Slavi PantaleevandGitHub eb7bed5221 Merge pull request #1816 from OdyX/appservice-slack-1-11-update
Bump Slack Appservice to 1.11.0
2022-05-11 11:04:48 +02:00
Slavi PantaleevandGitHub 47f7fbcd36 Merge pull request #1814 from etkecc/master
matrix-bot-buscarron v1.1.0
2022-05-10 17:59:38 +02:00
Slavi PantaleevandGitHub 255001af0e Merge pull request #1813 from HarHarLinks/patch-13
Update configuring-playbook-bridge-hookshot.md
2022-05-10 17:06:08 +02:00
Slavi PantaleevandGitHub 764571c6fb Merge pull request #1812 from etkecc/patch-5
Update Element 1.10.11 -> 1.10.12
2022-05-10 16:42:36 +02:00
Slavi PantaleevandGitHub c27b4aa4ae Merge pull request #1811 from etkecc/patch-5
Update cinny v1.8.2 -> v2.0.0
2022-05-10 16:09:07 +02:00
Slavi Pantaleev 9fc60d8c86 Revert "Change back to original mx-puppet-slack"
This reverts commit fcfd00bcb4.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1808

Reverts https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1809

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1810
2022-05-10 16:20:44 +03:00
Slavi PantaleevandGitHub 6184ed2d8c Merge pull request #1809 from dsonck92/change-to-upstream
Change back to original mx-puppet-slack
2022-05-10 07:25:35 +02:00
Slavi PantaleevandGitHub 5ad8547c14 Merge pull request #1806 from Arkonos/master
Clarify reverse-proxying of well-known files with Caddy2
2022-05-09 10:32:29 +02:00
Slavi PantaleevandGitHub 25302ed142 Merge pull request #1802 from dsonck92/change-to-upstream
Change back to original mx-puppet-discord
2022-05-08 07:35:11 +02:00
Slavi PantaleevandGitHub e62123ac13 Merge pull request #1804 from HarHarLinks/feeds
Add hookshot feeds config support
2022-05-08 07:10:40 +02:00
Slavi PantaleevandGitHub 0d0f771b02 Merge pull request #1803 from HarHarLinks/patch-12
Upgrade Hookshot (1.5.0 -> 1.6.1)
2022-05-07 15:54:24 +02:00
Slavi Pantaleev 83b7fcee45 Do not proxy some endpoints to the generic Synapse worker
These endpoints should not be proxied to a generic Synapse worker
without other preparation (setting up stream writers, sending traffic
to a specific stream writer, etc.).

Disabling them for now. In the future, we'd like to fix up our awk
script to disable them automatically.

This is a fix up for 058fedff91
2022-05-07 09:39:19 +02:00
Slavi PantaleevandGitHub 21d8327c48 Merge pull request #1800 from ptman/patch-1
typo
2022-05-06 13:53:40 +03:00
Slavi Pantaleev 058fedff91 Fix "endpoint seems conditional" determination in workers-doc-to-yaml.awk"
This prevented us from keeping our workers reverse-proxying definitions
updated since Synapse v1.54.0.

The last `workers.md` file we could parse is at commit
02632b3504ad4512c5f5a4f859b3fe326b19c788.
Parsing regressed at commit c56bfb08bc071368db23f3b1c593724eb4f205f0,
because the introduction message for `synapse.app.generic_worker` said
"If":

> If a worker is set up to handle a..

.. which made the AWK script think that definitions below were
conditional (which they're not in this case).

This patch fixes up the regex for determining if a line is conditional
or not, so that it doesn't trip up. Hopefully, it doesn't miss something
important.
2022-05-06 09:08:45 +02:00
Slavi Pantaleev 549e4418b9 Upgrade Synapse (1.58.0 -> 1.58.1) 2022-05-06 08:56:06 +02:00
Slavi Pantaleev 1439be2743 Upgrade matrix-appservice-irc (0.33 -> 0.34)
Related to https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity
2022-05-04 11:10:00 +03:00
Slavi Pantaleev 03674e1a36 Upgrade Synapse (1.57.1 -> 1.58.0) 2022-05-03 14:32:32 +03:00
Slavi Pantaleev 7adc167412 Fail if trying to use Jitsi on an architecture other than amd64
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1797
2022-05-03 08:10:18 +03:00
Slavi PantaleevandGitHub a7c230233c Merge pull request #1795 from kraftbj/patch-1
Upgrade to Grafana 8.5.1
2022-05-02 21:19:41 +03:00
Slavi PantaleevandGitHub d2941b56b2 Merge pull request #1790 from etkecc/patch-5
matrix-change-user-admin-status: do not allocate tty
2022-04-26 21:13:30 +03:00
Slavi PantaleevandGitHub f581867049 Merge pull request #1788 from etkecc/patch-5
Update element 1.10.10 -> 1.10.11
2022-04-26 19:57:01 +03:00
Slavi Pantaleev e41fcf2746 Fix file name (vars.yaml -> vars.yml) to prevent confusion 2022-04-26 15:44:07 +03:00
Slavi PantaleevandGitHub 3f50c08828 Merge pull request #1787 from dooleydevin/cast-vault-keys
Support ansible vault strings for homeserver secret key
2022-04-26 10:44:34 +03:00
Slavi PantaleevandGitHub e3907b369a Merge pull request #1786 from etkecc/master
matrix-bot-buscarron: fix username in docs
2022-04-25 13:51:14 +03:00
Slavi Pantaleev 1163e9880f Link to Buscarron bot from configuring docs page
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1782
2022-04-25 10:37:35 +03:00
Slavi Pantaleev 2f33b330ff Announce Buscarron bot support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1782
2022-04-25 10:29:09 +03:00
Slavi PantaleevandGitHub 49da9c76ac Merge pull request #1782 from etkecc/matrix-bot-buscarron
add matrix-bot-buscarron
2022-04-25 09:44:35 +03:00
Slavi PantaleevandGitHub 8014979ddb Merge pull request #1780 from Shaps/nginx-proxy-configure-httpasswd
Make synapse htpasswd file path configurable
2022-04-25 09:43:29 +03:00
Slavi PantaleevandGitHub 4a0b839768 Automatically do the right thing with regards to Synapse Metrics htpasswd
.. regardless of whether matrix-nginx-proxy runs in a container or not
2022-04-25 09:42:36 +03:00