Commit Graph
100 Commits
Author SHA1 Message Date
Slavi PantaleevandGitHub 2b2eb290bd Merge pull request #2272 from etkecc/patch-122
Update grafana 9.2.4 -> 9.2.5
2022-11-16 22:22:11 +02:00
Slavi PantaleevandGitHub 3a053a26de Merge pull request #2262 from llasse/add-ma1sd-dockernetworks
added matrix_ma1sd_container_additional_networks
2022-11-16 15:44:35 +02:00
Slavi PantaleevandGitHub 28363dfee9 Merge pull request #2270 from etkecc/patch-121
Update mautrix-whatsapp 0.7.1 -> 0.7.2
2022-11-16 13:29:53 +02:00
Slavi PantaleevandGitHub 494d015e82 Merge pull request #2250 from felixx9/patch-4
add how to integrate
2022-11-16 11:56:34 +02:00
Slavi PantaleevandGitHub 9c2dedfdeb Reorganize a bit 2022-11-16 11:56:22 +02:00
Slavi Pantaleev 40e8ef0c70 Do not tell people to use latest Borgmatic - it won't help with Postgres v15
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2259#issuecomment-1312737960
2022-11-16 11:50:05 +02:00
Slavi PantaleevandGitHub 7a4918da15 Merge pull request #2269 from etkecc/patch-120
Update mautrix-googlechat 0.3.3 -> 0.4.0
2022-11-16 09:13:11 +02:00
Slavi PantaleevandGitHub a93308d190 Merge pull request #2266 from etkecc/patch-119
Update jitsi stable-7882 -> stable-8044
2022-11-15 18:01:39 +02:00
Slavi PantaleevandGitHub a8261cb108 Merge pull request #2265 from etkecc/patch-118
Update mautrix-facebook 0.4.0 -> 0.4.1
2022-11-15 18:01:11 +02:00
Slavi PantaleevandGitHub 943189a9aa Merge pull request #2259 from throny/patch-3
warn users about upgrading to pg15 when using borg
2022-11-13 08:54:32 +02:00
Slavi PantaleevandGitHub 4a229d6870 Merge pull request #2260 from etkecc/patch-117
Update ntfy 1.28.0 -> 1.29.0
2022-11-13 08:53:13 +02:00
Slavi PantaleevandGitHub 9b326e0899 Merge pull request #2254 from etkecc/patch-116
Update Hydrogen 0.3.3 -> 0.3.4
2022-11-10 21:55:38 +02:00
Slavi PantaleevandGitHub e760f163e5 Merge pull request #2251 from etkecc/patch-115
Update prometheus 2.40.0 -> 2.40.1
2022-11-09 18:15:10 +02:00
Slavi PantaleevandGitHub 0816b02365 Merge pull request #2252 from spantaleev/dependabot/github_actions/frenck/action-yamllint-1.3.1
Bump frenck/action-yamllint from 1.3.0 to 1.3.1
2022-11-09 18:11:48 +02:00
Slavi PantaleevandGitHub fa11d5af2b Merge pull request #2222 from array-in-a-matrix/master
Document login to Discord using token
2022-11-09 09:10:04 +02:00
Slavi Pantaleev 06df2df9e9 Mention playbook ownership issues when running Ansible in a container and potential workarounds
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2248
2022-11-09 09:01:58 +02:00
Slavi Pantaleev 32e5c814e4 Update containerized Ansible tag and make documentation about "make roles" clearer
`devture/ansible:2.13.6-r0` contains the `make` utility.
(https://github.com/devture/docker-ansible/commit/8597fd82720bf3aa1d1f3a6b9ea30ae45120e12f)

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2248
2022-11-09 08:46:49 +02:00
Slavi PantaleevandGitHub 702df4b5fe Merge pull request #2246 from etkecc/patch-114
Update element v1.11.13 -> v1.11.14
2022-11-08 20:35:33 +02:00
Slavi Pantaleev 51674887ff Fix Synapse pusher_instances not being populated correctly
This caused push notifications to be delivered more than once
if multiple `pusher` workers were enabled.
2022-11-08 17:40:44 +02:00
Slavi PantaleevandGitHub 59c6d37ebc Merge pull request #2245 from etkecc/patch-113
Update prometheus 2.39.1 -> 2.40.0
2022-11-08 16:54:49 +02:00
Slavi PantaleevandGitHub ed1d477ca2 Merge pull request #2244 from etkecc/patch-112
Update Grafana 9.2.3 -> 9.2.4
2022-11-08 16:54:33 +02:00
Slavi Pantaleev 7871a92b04 Upgrade Synapse (v1.70.1 -> v1.71.0) 2022-11-08 16:25:52 +02:00
Slavi PantaleevandGitHub 433adf097b Merge pull request #2240 from abmantis/patch-1
Remove repeated quote in mautrix-discord docs
2022-11-07 08:53:19 +02:00
Slavi PantaleevandGitHub a19f239f06 Merge pull request #2237 from etkecc/master
remove etherpad nginx config automatically
2022-11-05 21:28:18 +02:00
Slavi PantaleevandGitHub 844f05dcef Merge pull request #2235 from drelephant/fixgradle
stop gradle pacman error on ubuntu
2022-11-05 15:41:48 +02:00
Slavi PantaleevandGitHub 5fdcead744 Merge pull request #2233 from etkecc/etherpad-soffice-option
etherpad: add abiword and soffice config options, update log level
2022-11-05 14:28:58 +02:00
Slavi Pantaleev 663f0bc5ef Install openssl using ansible.builtin.package, not using a distro-specific package manager module
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 12:10:59 +02:00
Slavi Pantaleev 5ef70015cb Ensure git is installed using ansible.builtin.package, not using a distro-specific package manager module
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 12:09:32 +02:00
Slavi PantaleevandGitHub 13b63eabf0 Merge pull request #2229 from etkecc/make-etherpad-great-again
standalone etherpad
2022-11-05 11:54:51 +02:00
Slavi Pantaleev 805b70bfa3 Announce standalone Etherpad 2022-11-05 11:47:47 +02:00
Slavi Pantaleev 2473cd655b Include ensure_openssl_installed and ensure_fuse_installed utils in a more reliable way
This fixes a regression since the change done in c1c152f7ac.
When another role (say `matrix-jitsi`) included `roles/custom/matrix-base/tasks/util/ensure_openssl_installed.yml`,
which then included `{{ role_path }}/tasks/util/ensure_openssl_installed_DISTRO.yml`,
that `role_path` variable would end up being the parent role
(`matrix-jitsi`) and not the `matrix-base` role, so we'd get a failure.

An alternative solution may have been to avoid using `role_path`, but
importing roles properly (like we've done in this patch) sounds like a better way.

Unfortunately, `import_role` fails if `tasks_from` is something like
`util/ensure_openssl_installed` (containing a `/`), so I had to move
these utils out of `util/`.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 09:18:58 +02:00
Slavi Pantaleev c1c152f7ac Include potentially distro-specific tasks at runtime
This avoids Ansible trying to ensure `community.general.pacman` is
available, even if that module will never run (because `when` says so).

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2228
2022-11-05 08:31:22 +02:00
Slavi PantaleevandGitHub 264d1716e0 Merge pull request #2230 from etkecc/fix-workers-yaml-include-path
Keep Synapse worker definitions in vars.yml to avoid an extra file include on each playbook task
2022-11-05 07:45:13 +02:00
Slavi Pantaleev 6c524302d6 Add intentionally-ignored-endpoints to intentionally-ignored-endpoints for completeness 2022-11-05 07:40:56 +02:00
Slavi Pantaleev a9e2607d80 Fix yaml[comments-indentation] in workers config and remove automation 2022-11-05 07:29:47 +02:00
Slavi Pantaleev 7289992dba Document make roles some more
Improves:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2232
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2217#issuecomment-1304366791
2022-11-05 07:10:04 +02:00
Slavi Pantaleev c165bf0a95 Try to make setup.yml more helpful when galaxy roles haven't been downloaded
With this change, trying to run the playbook should report an error that
looks like this:

> The offending line appears to be:
>
>     # Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `make roles` command (see `Makefile`).
>     - role: galaxy/com.devture.ansible.role.playbook_help
>       ^ here

.. with that comment included, which might help some people who missed
the `make roles` part.

Improves https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2232
2022-11-05 07:02:10 +02:00
Slavi Pantaleev 5ff59eb31a Upgrade com.devture.ansible.role.playbook_state_preserver 2022-11-05 06:56:10 +02:00
Slavi PantaleevandGitHub 043344fa4d Merge pull request #2231 from xyzst/update-dendrite-0.10.7
dendrite: update image tag to latest release (0.10.7)
2022-11-04 23:17:05 +02:00
Slavi Pantaleev a4e2a3bc07 Upgrade Hydrogen (v0.3.2 -> v0.3.3) 2022-11-04 17:07:29 +02:00
Slavi Pantaleev d3bd1ca024 matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay} 2022-11-04 16:44:29 +02:00
Slavi Pantaleev 4f4c856e43 matrix_host_command_systemctl -> devture_systemd_docker_base_host_command_systemctl (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:41:23 +02:00
Slavi Pantaleev 7086c0ebe3 matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:40:25 +02:00
Slavi Pantaleev a9a81460ec matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:39:35 +02:00
Slavi Pantaleev 835d2e9581 matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:38:38 +02:00
Slavi Pantaleev f03f716989 matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base) 2022-11-04 16:37:47 +02:00
Slavi Pantaleev 04c6c11561 Install ntpd/systemd-timesync via com.devture.ansible.role.timesync 2022-11-04 16:34:23 +02:00
Slavi Pantaleev db19482d0c Replace matrix_playbook_runtime_results with devture_playbook_runtime_messages_list (via com.devture.ansible.role.playbook_runtime_messages) 2022-11-04 16:19:17 +02:00
Slavi Pantaleev c3a7237de7 Initial work on using externally defined roles 2022-11-04 14:58:28 +02:00
Slavi Pantaleev 4cbea602dd Sync appservice-discord configuration with upstream 2022-11-03 11:50:40 +02:00
Slavi Pantaleev 995ef460e7 Upgrade appservice-discord (3.0.0 -> 3.1.0) 2022-11-03 11:46:12 +02:00
Slavi Pantaleev a3319b1dc2 Adjust .gitignore
Related to 410a915a8a
2022-11-03 09:16:54 +02:00
Slavi Pantaleev 410a915a8a Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:

- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy

In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:

- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help

We just need to migrate to those.
2022-11-03 09:11:29 +02:00
Slavi PantaleevandGitHub 6c131138ad Merge pull request #2161 from meenzen/mautrix-discord-restricted-rooms-config
fix(mautrix-discord): allow configuring the restricted_rooms option
2022-11-03 07:44:07 +02:00
Slavi PantaleevandGitHub e1cfb6e79f Make yamllint happy 2022-11-03 07:42:08 +02:00
Slavi PantaleevandGitHub c96878275c Merge pull request #2224 from Michael-Hollister/bugfix/fix-synapse-stream-writer-workers
Fixed filter for Synapse stream_writer HS config
2022-11-02 10:24:10 +02:00
Slavi PantaleevandGitHub 0048c574ca Merge pull request #2226 from etkecc/patch-111
Pin mautrix-instagram to v0.2.2
2022-11-02 10:14:23 +02:00
Slavi Pantaleev 8a609e5cf2 Fix some ansible-lint-reported errors 2022-11-02 07:00:45 +02:00
Slavi PantaleevandGitHub e531b7aefd Merge pull request #2217 from ikkemaniac/git-hash
Save the GIT hash when running the playbook to allow for easy recovery
2022-11-02 06:47:57 +02:00
Slavi PantaleevandGitHub d2aef10f33 Merge pull request #2223 from etkecc/patch-110
Update element 1.11.12 -> 1.11.13
2022-11-02 06:06:01 +02:00
Slavi PantaleevandGitHub 39fb6337f3 Merge pull request #2225 from xyzst/update-dendrite-0.10.6
dendrite: update tag to v0.10.6
2022-11-01 21:26:16 +02:00
Slavi Pantaleev eaa9b7cfc4 Add automatic user account creation support to Buscarron
Continuation of c3dc64b1d5
2022-11-01 17:03:53 +02:00
Slavi Pantaleev c3dc64b1d5 Add matrix-user-creator role - automatic user account creation support
We no longer ask users to create Matrix user accounts for these bots:

- Postmoogle
- Honoroit
- Reminder Bot

Other bots and services (matrix-registration-bot, maubot, mjolnir,
Dimension, etc.) require an Access Token to run (not a password),
so this new role doesn't help for them.

It does help for the above bots though, and for defining your own
"initial user accounts" in the `matrix_user_creator_users_additional`
variable.
2022-11-01 16:22:58 +02:00
Slavi Pantaleev 125ca5569d Use unique filter for matrix_postgres_import_roles_to_ignore and matrix_postgres_import_databases_to_ignore
Dendrite uses a lot of databases, but a single (`dendrite`) role, which
leads to `matrix_postgres_import_roles_to_ignore` being something like
`['dendrite', 'dendrite', 'dendrite', ...]` needlessly.

This leads to weird regexes being generated for
`matrix_postgres_import_roles_ignore_regex`.
It's not that it hurts, but it just looks odd.
2022-11-01 15:47:00 +02:00
Slavi Pantaleev a4662660d2 Do not wait needlessly when vacuuming or importing Postgres 2022-11-01 15:06:10 +02:00
Slavi Pantaleev 74b186a454 Fix "too many spaces after colon" ansible-lint error 2022-11-01 15:05:41 +02:00
Slavi Pantaleev 9fb21b89a8 Fix import-postgres/run-postgres-vacuum failures being suppressed
We were only reporting failures for when the async task didn't finish.
We also need to report a failure for when the task finished, but
returned a non-zero exit code.
2022-11-01 14:57:29 +02:00
Slavi Pantaleev 17caa13a71 Upgrade Grafana (9.2.2 -> 9.2.3) 2022-11-01 12:59:15 +02:00
Slavi Pantaleev f7b45fd440 Upgrade ddclient (v3.10.0-ls102 -> v3.10.0-ls103) 2022-11-01 12:58:22 +02:00
Slavi Pantaleev 3fc19295e2 Fix ansible-lint error (ansible.builtin.synchronize -> ansible.posix.synchronize) 2022-11-01 07:05:26 +02:00
Slavi Pantaleev e1274a6e56 Rename variable (matrix_hookshot_feeds_interval -> matrix_hookshot_feeds_pollIntervalSeconds)
This is more consistent with how we name variables. It's also less
confusing, especially given that we have `matrix_hookshot_feeds_pollTimeoutSeconds` as well.
2022-10-31 21:52:01 +02:00
Slavi Pantaleev ec45b87376 Add matrix_hookshot_feeds_pollTimeoutSeconds 2022-10-31 21:50:39 +02:00
Slavi Pantaleev 975dda54c9 Upgrade Dendrite (0.10.4 -> 0.10.5) 2022-10-31 21:34:14 +02:00
Slavi Pantaleev cada3ef48b Use pre-built image for Hookshot on arm64 2022-10-31 12:47:10 +02:00
Slavi Pantaleev 54e71f2012 Mention "matrix_hookshot_enabled: true" on the Hookshot documentation page 2022-10-31 12:38:43 +02:00
Slavi PantaleevandGitHub f108f87c8f Merge pull request #2219 from redoonetworks/use-resolver-variable
Always use resolver variable in nginx conf.d files
2022-10-30 08:26:54 +02:00
Slavi PantaleevandGitHub fe1f49d5e7 Merge pull request #2214 from etkecc/patch-109
Update mautrix-signal 0.4.0 -> 0.4.1
2022-10-29 08:58:29 +03:00
Slavi Pantaleev 30180048c3 Upgrade Synapse (v1.69.0 -> v1.70.1) 2022-10-28 19:43:44 +03:00
Slavi Pantaleev 7fb45a507d Make --tags=run-postgres-vacuum and --tags=upgrade-postgres not assume Synapse
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2211
2022-10-28 17:40:12 +03:00
Slavi PantaleevandGitHub 5084aa0c65 Merge pull request #2210 from rndmh3ro/fqcn_fixes
use fqcns for some task
2022-10-28 15:26:31 +03:00
Slavi PantaleevandGitHub 582a73b027 Merge pull request #2208 from etkecc/patch-108
fix buscarron ban list
2022-10-27 14:29:47 +03:00
Slavi PantaleevandGitHub c93eae3524 Merge pull request #2207 from etkecc/patch-107
Update signald 0.22.2 -> 0.23.0
2022-10-27 11:18:16 +03:00
Slavi Pantaleev 7303f9241c Fix yamllint error 2022-10-27 09:59:54 +03:00
Slavi Pantaleev ce8e9be6a8 Document Conduit installation
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2076
2022-10-27 09:56:16 +03:00
Slavi Pantaleev 35c5c23a3e Remove useless tasks from matrix-postgres-backup role
`matrix-postgres-backup` reuses the `matrix-postgres` role for these
tasks, not its own definitions.
2022-10-27 06:51:31 +03:00
Slavi Pantaleev 6cacf7297d Add support for postgres-backup-local v15
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2200
2022-10-27 06:51:31 +03:00
Slavi Pantaleev e5e5ee4f72 Use fixed image tags for prodrigestivill/postgres-backup-local
At some point, we can drop v9.6 support and use a single variable
that holds this value.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2191
2022-10-27 06:51:31 +03:00
Slavi PantaleevandGitHub fb2327f899 Merge pull request #2202 from array-in-a-matrix/patch-4
update way to login to discord
2022-10-27 06:47:45 +03:00
Slavi PantaleevandGitHub 0fb99af6d3 Merge pull request #2204 from joecool1029/patch-1
update element v1.11.11 -> v1.11.12
2022-10-27 06:20:20 +03:00
Slavi PantaleevandGitHub 3694bf1d18 Merge pull request #2198 from etkecc/buscarron-130
update buscarron 1.2.1 -> 1.3.0
2022-10-25 22:05:22 +03:00
Slavi PantaleevandGitHub 06d4ca0f4e Merge pull request #2197 from etkecc/postmoogle-098
update postmoogle 0.9.7 -> 0.9.8
2022-10-25 22:03:59 +03:00
Slavi PantaleevandGitHub 304906260b Merge pull request #2196 from etkecc/honoroit-0916
update honoroit 0.9.15 -> 0.9.16
2022-10-25 22:03:20 +03:00
Slavi PantaleevandGitHub a2c40803b6 Merge pull request #2199 from etkecc/patch-105
update element v1.11.10 -> v1.11.11
2022-10-25 22:02:36 +03:00
Slavi PantaleevandGitHub a9c72b81fc Merge pull request #2195 from etkecc/patch-104
Update grafana 9.2.1 -> 9.2.2
2022-10-25 18:43:43 +03:00
Slavi PantaleevandGitHub fcf7fb18a1 Merge pull request #2194 from etkecc/patch-103
Update appservice-irc 0.35.1 -> 0.36.0
2022-10-25 13:25:43 +03:00
Slavi Pantaleev cb2fecbea9 Fix some ansible-lint-reported warnings 2022-10-25 06:43:57 +03:00
Slavi Pantaleev 9c549a185f Auto-purge orphaned Let's Encrypt renewal configuration files 2022-10-25 06:28:24 +03:00
Slavi PantaleevandGitHub 69ae35bb23 Merge pull request #2193 from etkecc/patch-102
Fix 502
2022-10-24 08:59:12 +03:00
Slavi Pantaleev d44b037850 fgrep -> grep -F 2022-10-23 18:45:22 +03:00
Slavi Pantaleev 716efe7ad5 Upgrade ddclient (v3.9.1-ls100 -> v3.10.0-ls102) 2022-10-23 09:52:02 +03:00