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
2 years ago
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
2 years ago
Slavi Pantaleev
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
2 years ago
Slavi Pantaleev
6c524302d6
Add intentionally-ignored-endpoints to intentionally-ignored-endpoints for completeness
2 years ago
Slavi Pantaleev
a9e2607d80
Fix yaml[comments-indentation] in workers config and remove automation
2 years ago
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
2 years ago
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
2 years ago
Slavi Pantaleev
5ff59eb31a
Upgrade com.devture.ansible.role.playbook_state_preserver
2 years ago
Slavi Pantaleev
043344fa4d
Merge pull request #2231 from xyzst/update-dendrite-0.10.7
...
dendrite: update image tag to latest release (0.10.7)
2 years ago
Darren Rambaud
1c643263dd
dendrite: update image tag to latest release (0.10.7)
...
- https://github.com/matrix-org/dendrite/releases/tag/v0.10.7
2 years ago
Aine
da4a82c48b
remove old workers.yml (already saved into main.yml)
2 years ago
Aine
37d4bf0d1c
fix workers-doc-to-yaml
2 years ago
Slavi Pantaleev
a4e2a3bc07
Upgrade Hydrogen (v0.3.2 -> v0.3.3)
2 years ago
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
2 years ago
Slavi Pantaleev
4f4c856e43
matrix_host_command_systemctl -> devture_systemd_docker_base_host_command_systemctl (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
2 years ago
Slavi Pantaleev
04c6c11561
Install ntpd/systemd-timesync via com.devture.ansible.role.timesync
2 years ago
Slavi Pantaleev
db19482d0c
Replace matrix_playbook_runtime_results with devture_playbook_runtime_messages_list (via com.devture.ansible.role.playbook_runtime_messages)
2 years ago
Slavi Pantaleev
c3a7237de7
Initial work on using externally defined roles
2 years ago
Slavi Pantaleev
4cbea602dd
Sync appservice-discord configuration with upstream
2 years ago
Slavi Pantaleev
995ef460e7
Upgrade appservice-discord (3.0.0 -> 3.1.0)
2 years ago
Slavi Pantaleev
a3319b1dc2
Adjust .gitignore
...
Related to 410a915a8a
2 years ago
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.
2 years ago
Slavi Pantaleev
6c131138ad
Merge pull request #2161 from meenzen/mautrix-discord-restricted-rooms-config
...
fix(mautrix-discord): allow configuring the restricted_rooms option
2 years ago
Slavi Pantaleev
e1cfb6e79f
Make yamllint happy
2 years ago
Samuel Meenzen
752d2ba8d0
Update matrix_servers
2 years ago
Samuel Meenzen
c330b85de3
Merge branch 'spantaleev:master' into mautrix-discord-restricted-rooms-config
2 years ago
Slavi Pantaleev
c96878275c
Merge pull request #2224 from Michael-Hollister/bugfix/fix-synapse-stream-writer-workers
...
Fixed filter for Synapse stream_writer HS config
2 years ago
Slavi Pantaleev
0048c574ca
Merge pull request #2226 from etkecc/patch-111
...
Pin mautrix-instagram to v0.2.2
2 years ago
Aine
0fd9f3d4f9
Pin mautrix-instagram to v0.2.2
2 years ago
Slavi Pantaleev
8a609e5cf2
Fix some ansible-lint-reported errors
2 years ago
Slavi Pantaleev
e531b7aefd
Merge pull request #2217 from ikkemaniac/git-hash
...
Save the GIT hash when running the playbook to allow for easy recovery
2 years ago
Slavi Pantaleev
d2aef10f33
Merge pull request #2223 from etkecc/patch-110
...
Update element 1.11.12 -> 1.11.13
2 years ago
Slavi Pantaleev
39fb6337f3
Merge pull request #2225 from xyzst/update-dendrite-0.10.6
...
dendrite: update tag to v0.10.6
2 years ago
Darren Rambaud
28d9ee8578
dendrite: update tag to v0.10.6
...
- update tag to latest dendrite release (https://github.com/matrix-org/dendrite/releases/tag/v0.10.6 )
2 years ago
Michael Hollister
b7bd68d3cb
Fixed filter for Synapse stream_writer HS config
2 years ago
Slavi Pantaleev
eaa9b7cfc4
Add automatic user account creation support to Buscarron
...
Continuation of c3dc64b1d5
2 years ago
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.
2 years ago
Aine
501420f3cc
Update element 1.11.12 -> 1.11.13
2 years ago
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.
2 years ago
Slavi Pantaleev
a4662660d2
Do not wait needlessly when vacuuming or importing Postgres
2 years ago
Slavi Pantaleev
74b186a454
Fix "too many spaces after colon" ansible-lint error
2 years ago
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.
2 years ago
Slavi Pantaleev
17caa13a71
Upgrade Grafana (9.2.2 -> 9.2.3)
2 years ago
Slavi Pantaleev
f7b45fd440
Upgrade ddclient (v3.10.0-ls102 -> v3.10.0-ls103)
2 years ago
ikkemaniac
3a49b0077c
fix ansible-lint errors
2 years ago
Slavi Pantaleev
3fc19295e2
Fix ansible-lint error (ansible.builtin.synchronize -> ansible.posix.synchronize)
2 years ago