Commit Graph
100 Commits
Author SHA1 Message Date
Slavi PantaleevandGitHub a045f248dc Merge pull request #1987 from etkecc/honoroit-0911
Update Honoroit 0.9.10 -> 0.9.11
2022-07-30 15:14:11 +03:00
Slavi Pantaleev d98f09944d Fix more typos 2022-07-29 20:22:50 +03:00
Slavi Pantaleev dfef71b9a9 Fix typo 2022-07-29 20:19:56 +03:00
Slavi Pantaleev fdc9fb9d50 Improve mautrix-discord docs
Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1974
- https://github.com/mautrix/discord/issues/17
- https://github.com/mautrix/discord/issues/18
- https://github.com/mautrix/discord/issues/19
2022-07-29 20:17:52 +03:00
Slavi Pantaleev 544b36eb3c Upgrade Hydrogen (v0.2.33 -> v0.3.0)
This is untested.
2022-07-29 18:31:18 +03:00
Slavi Pantaleev 9d10d5543b Announce mautrix-discord support 2022-07-29 08:10:09 +03:00
Slavi PantaleevandGitHub 429d0b323b Merge pull request #1974 from MdotAmaan/master
Add Mautrix Discord Bridge
2022-07-29 08:05:52 +03:00
Slavi Pantaleev 953efe6a74 Upgrade prometheus-postgres-exporter (v0.10.1 -> v0.11.0) 2022-07-28 16:58:38 +03:00
Slavi PantaleevandGitHub d65096cd82 Merge pull request #1978 from spantaleev/appservice-kakaotalk
Add matrix-appservice-kakaotalk support
2022-07-27 09:42:18 +03:00
Slavi Pantaleev 2e40ad7d4e Announce Kakaotalk support 2022-07-27 09:36:58 +03:00
Slavi PantaleevandGitHub 56697ef436 Merge pull request #1983 from etkecc/patch-30
Update Element v1.11.0 -> v1.11.1
2022-07-26 19:09:17 +03: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 PantaleevandGitHub 4685509171 Merge pull request #1979 from mcnesium/SC2086
Double quote to prevent globbing and word splitting.
2022-07-26 12:47:37 +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 PantaleevandGitHub 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
Slavi PantaleevandGitHub c5278621ca Merge pull request #1976 from ayonoaduo/patch-1
Minor typo update
2022-07-22 22:47:43 +03:00
Slavi PantaleevandGitHub 720b6a2ab7 Merge pull request #1971 from Maxdeso/master
dendrite_recaptcha_siteverify_api
2022-07-22 08:47:41 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub 9923a9e70f Merge pull request #1970 from anoadragon453/patch-1
Fix link to maubot docs in README
2022-07-21 17:26:55 +03:00
Slavi PantaleevandGitHub d81a186f49 matrix-maubot -> maubot 2022-07-21 17:26:48 +03:00
Slavi PantaleevandGitHub cddd76b9c9 Merge pull request #1969 from kleo/patch-1
Borg backup provide ssh key example format
2022-07-21 17:21:35 +03:00
Slavi PantaleevandGitHub 57e8769c5e Add hint about matrix_backup_borg_ssh_key_private indentation 2022-07-21 17:07:06 +03: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
Slavi PantaleevandGitHub b9d7e24859 Merge pull request #1957 from mholt/patch-1
Update configuring-well-known.md
2022-07-21 10:30:34 +03:00
Slavi PantaleevandGitHub 4f4646dabd Merge pull request #1964 from roughnecks/Upgrade-heisenbridge-1.13.0---1.13.1
Upgrade heisenbridge 1.13.0 1.13.1
2022-07-20 20:52:00 +03:00
Slavi PantaleevandGitHub 5218ac03ac Merge pull request #1963 from etkecc/patch-29
Update Grafana 9.0.3 -> 9.0.4
2022-07-20 19:58:17 +03:00
Slavi Pantaleev 89bd25995a Upgrade Synapse (v1.63.0 -> v1.63.1) 2022-07-20 16:06:01 +03:00
Slavi PantaleevandGitHub 01a7c32a2c Merge pull request #1961 from moan0s/docker-image-fix
Add matrix-registreation-bot docker image
2022-07-20 14:23:23 +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 e5238bf7d5 Announce maubot
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:55:18 +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
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 PantaleevandGitHub 1f2d100d91 Merge pull request #1894 from moan0s/maubot_moanos
Maubot moanos
2022-07-20 10:10:14 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub 7d75af338c Merge pull request #1959 from xangelix/fix-selfbuild-image-refs2
Fix self-build error image names
2022-07-20 09:14:44 +03:00
Slavi PantaleevandGitHub 5deda13f10 Merge pull request #1956 from aaronraimist/stats
Explicitly mention that your homeserver's domain is included in telemetry
2022-07-19 19:50:29 +03:00
Slavi PantaleevandGitHub 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 PantaleevandGitHub 2a131fd507 Merge pull request #1954 from aaronraimist/stats
Update telemetry documentation to more closely match upstream
2022-07-19 18:38:29 +03: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
Slavi PantaleevandGitHub bffefc83c2 Merge pull request #1953 from etkecc/patch-27
Update Synapse 1.62.0 -> 1.63.0
2022-07-19 16:43:51 +03:00
Slavi PantaleevandGitHub 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
Slavi PantaleevandGitHub d063c8c34f Merge pull request #1951 from etkecc/patch-26
Update Redis 7.0.3 -> 7.0.4
2022-07-18 21:38:36 +03:00
Slavi PantaleevandGitHub c44c869e78 Merge pull request #1949 from etkecc/patch-25
Update Hookshot 1.8.0 -> 1.8.1
2022-07-18 20:35:20 +03:00
Slavi PantaleevandGitHub cbada7341d Merge pull request #1948 from spantaleev/ansible-lint-fixes
Ansible lint fixes
2022-07-18 17:08:21 +03:00
Slavi Pantaleev 2dc418a416 Add Makefile and lint target 2022-07-18 16:51:33 +03: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 3408c710ee Add ansible-lint configuration file 2022-07-18 15:45:13 +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 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