Slavi Pantaleev
ca2b6b0a27
Rename _docker_ vars to _container_ for kakaotalk, telegram, synapse
These three roles have multiple variable prefixes each:
- kakaotalk: matrix_appservice_kakaotalk + matrix_appservice_kakaotalk_node
- telegram: matrix_mautrix_telegram + matrix_mautrix_telegram_lottieconverter
- synapse: matrix_synapse + matrix_synapse_customized + matrix_synapse_rust_synapse_compress_state
For each: renamed _docker_image* to _container_image* (and _docker_src*,
_docker_repo* where applicable), added deprecation entries in
validate_config.yml, updated group_vars references, and moved
deprecation tasks to the front of validate_config.yml.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
vor 2 Wochen
Suguru Hirahara
f0abe85c18
Add license information to files in matrix-synapse/tasks/rust-synapse-compress-state
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
vor 1 Jahr
Slavi Pantaleev
8445843562
Switch postgres/postgres-backup Ansible role sources and adjust variable names (devture_postgres_ -> postgres_)
vor 1 Jahr
Slavi Pantaleev
f3c69562fa
Use devture_postgres_container_network for all rust-synapse-compress-state tasks
Using `matrix_synapse_container_network` for this task may have worked
before, when everything was in the same `matrix` network, but not anymore.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3165
vor 2 Jahren
Slavi Pantaleev
1e1ab70965
Make use of matrix_synapse_container_network in the matrix-synapse role
It's the same as `matrix_docker_network` for now, so this practically
doesn't change anything.
vor 2 Jahren
Slavi Pantaleev
632026513e
Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username
vor 3 Jahren
Slavi Pantaleev
3d5d843418
Replace some devture_postgres_identifier instances with devture_postgres_connection_hostname
vor 3 Jahren
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
vor 3 Jahren
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
vor 3 Jahren
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.
vor 3 Jahren
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.
vor 3 Jahren
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
vor 3 Jahren
Slavi Pantaleev
a12cbeac3b
Fix async commands
Fixes a regression introduced in d1b5681ba0 .
Looks like `.finished` is a property on the main object, not on some
`.async_result` object.
vor 3 Jahren
Slavi Pantaleev
d1b5681ba0
Report async task failures better
We were previously trying to reach into `.rc`,
but there's no such thing if `async_result.finished == 0`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
vor 3 Jahren
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
vor 3 Jahren
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
vor 3 Jahren
Slavi Pantaleev
85627b59ad
Make synapse-compress-state in-container binary path configurable
This makes it easier to use another container image for
rust-synapse-compress-state, which may be storing the binary at another
path.
vor 3 Jahren
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
vor 4 Jahren
Michael Collins
98e6cd685d
sync with previous repo
vor 4 Jahren
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
vor 4 Jahren
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
vor 4 Jahren
Béla Becker
2edc9cb83c
Name the Synapse database on state compression import
Fixes:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/833
vor 5 Jahren
Slavi Pantaleev
75f9fde7a4
Remove some more -v usage
Continuation of 1fca917ad1 .
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/722
vor 5 Jahren
Slavi Pantaleev
daf13107a0
Add support for rust-synapse-compress-state
vor 5 Jahren