Commit Graph
100 Commits
Author SHA1 Message Date
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 3f7498da5a Fix matrix_homeserver_admin_contacts example
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931

This does 2 things:

- it fixes the syntax for `matrix_id`. Starting strings with `@` is
  invalid YAML, so such strings need to be wrapped in single or double
  quotes
- it makes use of the `matrix_domain` variable instead of hardcoding the
  domain name. This should be more and mistake-proof (typos or people
  mistaking their domain - matrix. vs base domain)
2022-07-18 12:49:53 +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
Slavi PantaleevandGitHub 6075375f78 Merge pull request #1939 from etkecc/add-ansible-lint
add ansible-lint; cleanup yamllint
2022-07-18 10:17:56 +03:00
Slavi PantaleevandGitHub 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 PantaleevandGitHub 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 PantaleevandGitHub 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 PantaleevandGitHub 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 PantaleevandGitHub 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 PantaleevandGitHub 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
Slavi PantaleevandGitHub 06e78176d1 Merge pull request #1940 from etkecc/update-hydrogen
update hydrogen 0.2.29 -> 0.2.33; sync config
2022-07-17 18:04:42 +03:00
Slavi PantaleevandGitHub 140cdf0bc4 Merge pull request #1938 from etkecc/master
fix mautrix-whatsapp config
2022-07-17 15:49:51 +03:00
Slavi PantaleevandGitHub 74d5170010 Merge pull request #1936 from etkecc/add-repos
add/unify 'Project source code URL' link across all roles
2022-07-17 07:30:03 +03:00
Slavi PantaleevandGitHub d29bf4c0f7 Merge pull request #1934 from marinmo/patch-1
update buscarron from github -> gitlab
2022-07-16 23:27:06 +03:00
Slavi PantaleevandGitHub fa9b34b983 Try to make Jinja not trip up over syntax 2022-07-16 23:25:05 +03:00
Slavi PantaleevandGitHub cd3f4e5231 Merge pull request #1935 from etkecc/mautrix-whatsapp-v0.6.0
Update mautrix whatsapp 0.5.0 -> 0.6.0
2022-07-16 23:17:40 +03:00
Slavi PantaleevandGitHub 41753d4a3b Merge pull request #1932 from alexhartley/master
Update recommended Skype bridge in docs
2022-07-15 20:59:14 +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 e4caf3fa81 Add note about signald (0.19.0+) upgrade
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1921
2022-07-14 11:35:38 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub 24025c2de3 Merge pull request #1930 from spantaleev/dependabot/github_actions/frenck/action-yamllint-1.2.0
Bump frenck/action-yamllint from 1.1.2 to 1.2.0
2022-07-12 07:22:55 +03:00
Slavi PantaleevandGitHub 3b85a9a994 Upgrade hookshot (1.7.3 -> 1.8.0) 2022-07-11 20:25:32 +03:00
Slavi Pantaleev f1b52b6796 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-08 18:03:15 +03:00
Slavi PantaleevandGitHub bb2d821eaa Merge pull request #1926 from chirayudesai/mjolnir-update
mjolnir: v1.5.0
2022-07-08 17:45:08 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub 31d163eff9 Merge pull request #1918 from etkecc/patch-23
Update element 1.10.15 -> 1.11.0
2022-07-05 18:25:30 +03:00
Slavi Pantaleev 5a0e977df8 Announce ntfy role 2022-07-05 09:46:26 +03:00
Slavi Pantaleev e4cbdd56d8 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-05 09:37:01 +03:00
Slavi PantaleevandGitHub 613f0f9c68 Merge pull request #1915 from 3hhh/command_prefix
bots: make command_prefix configurable
2022-07-05 09:34:48 +03: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
Slavi PantaleevandGitHub 83d5816e6e Merge pull request #1913 from Kab1r/feat/jitsi-arm64
feat(jitsi+arm64): Upgrade Jitsi (7001 -> 7439-2) and allow on arm64
2022-07-01 18:33:47 +03:00
Slavi PantaleevandGitHub 0840068a83 Merge pull request #1911 from ThellraAK/try4
Adding logging configuration and default to the rest of the mautrixes…
2022-07-01 15:15:16 +03: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
Slavi PantaleevandGitHub 1c25ca78d4 Merge pull request #1910 from freiit/patch-1
Add configuration instruction for AWS CloundFront
2022-07-01 14:07:05 +03:00
Slavi PantaleevandGitHub 66670dfb87 Merge pull request #1908 from ThellraAK/patch-3
Update configuring-playbook-bridge-mautrix-facebook.md
2022-07-01 08:42:54 +03:00
Slavi PantaleevandGitHub 4ca0d23b81 FIx code blocks 2022-07-01 08:42:23 +03:00
Slavi PantaleevandGitHub 1966556e78 Merge pull request #1907 from ThellraAK/patch-3
Update configuring-playbook-own-webserver.md
2022-06-30 14:58:18 +03:00
Slavi Pantaleev 95ca182ab5 Remove outdated logging configuration from Dimension
Related to https://github.com/turt2live/matrix-dimension/commit/123a45bb217126875a5a9aaabbe22c5f8f66727a

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 PantaleevandGitHub b385a122fe Merge pull request #1906 from ThellraAK/patch-3
Update configuring-playbook-bridge-mautrix-instagram.md
2022-06-30 11:59:01 +03:00
Slavi PantaleevandGitHub 3fbff1a789 Mention matrix_admin
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
2022-06-30 11:57:01 +03:00
Slavi PantaleevandGitHub 5642c425ac Merge pull request #1905 from aaronraimist/hydrogen-self-check
Fix Hydrogen self check
2022-06-29 18:14:26 +03:00
Slavi PantaleevandGitHub f88664cbe3 Merge pull request #1904 from ThellraAK/patch-2
Update configuring-playbook-own-webserver.md
2022-06-29 14:10:07 +03:00
Slavi Pantaleev c15bf2e019 Upgrade Grafana (9.0.1 -> 9.0.2) 2022-06-29 08:42:55 +03:00
Slavi PantaleevandGitHub dd51db23b3 Merge pull request #1903 from ChrisKar96/patch-1
Update README.md to include Go Skype Bridge
2022-06-28 18:00:21 +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
Slavi Pantaleev bff35926dc Upgrade Synapse (v1.61.0 -> v1.61.1) 2022-06-28 17:13:19 +03:00
Slavi PantaleevandGitHub 0ebb5d96f5 Merge pull request #1902 from ThellraAK/patch-1
Update configuring-playbook-bridge-mautrix-facebook.md
2022-06-28 16:43:39 +03:00
Slavi PantaleevandGitHub 7cb7f74e8e Merge pull request #1901 from etkecc/patch-22
add missing retry to the apache docker image pull
2022-06-28 11:31:07 +03:00
Slavi PantaleevandGitHub 9ffff97979 Merge pull request #1900 from etkecc/patch-21
fix typo
2022-06-27 14:46:18 +03:00
Slavi PantaleevandGitHub f78b92c96a Merge pull request #1899 from etkecc/master
update bridges defaults
2022-06-27 11:03:19 +03:00
Slavi PantaleevandGitHub e27ecd6e76 Add matrix_admin example 2022-06-27 11:02:10 +03:00
Slavi PantaleevandGitHub 92b37ae214 Merge pull request #1898 from etkecc/master
expose prometheus process args
2022-06-26 12:42:31 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub a9cdf69d85 Merge pull request #1897 from etkecc/patch-20
Update Prometheus (v2.33.3 -> v2.36.2)
2022-06-25 22:32:18 +03:00
Slavi Pantaleev 83f1574a08 Upgrade exim-relay (4.95-r0-2 -> 4.95-r0-4) 2022-06-25 19:06:14 +03:00
Slavi PantaleevandGitHub bd05e0c1b4 Merge pull request #1895 from nono-lqdn/master
Added a note on managing the basic_auth password on external prometheus
2022-06-25 09:14:29 +03:00
Slavi Pantaleev 569b52f0c1 Document how the systemd node-exporter collector can be made to work 2022-06-24 08:33:17 +03:00
Slavi Pantaleev 37d7e75e9b Add support for passing extra arguments to prometheus-node-exporter 2022-06-23 20:37:56 +03:00
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