Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
3 lat temu
Slavi Pantaleev
db19482d0c
Replace matrix_playbook_runtime_results with devture_playbook_runtime_messages_list (via com.devture.ansible.role.playbook_runtime_messages)
3 lat temu
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.
3 lat temu
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 lat temu
Slavi Pantaleev
e6ecd54e72
Suppress some ansible-lint errors
3 lat temu
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
3 lat temu
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
3 lat temu
Slavi Pantaleev
7831dc91b3
Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
3 lat temu
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 lat temu
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 lat temu
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 lat temu
Slavi Pantaleev
2df993977a
Ensure git cloning when self-building is done with the matrix user, not root
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1749
3 lat temu
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 lat temu
Michael Collins
98e6cd685d
sync with previous repo
4 lat temu
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 lat temu
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 lat temu
Michael-GMH
85777e8f96
merge with upstream
4 lat temu
Slavi Pantaleev
1ab507349c
Fix self-building for various components on Ansible < 2.8
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1070
4 lat temu
Slavi Pantaleev
86da489b9b
Never fail when stopping systemd service during (SQLite -> Postgres) migration
We need to suppress systemd service-stopping requests in certain rare
cases like https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/771
That issue seems to describe a case, where a migration from mxisd to
ma1sd was happening (DB files had just been moved), and then we were
attemping to stop `matrix-ma1sd.service` so we could import that database into
Postgres. However, there's neither `matrix-mxisd.service`, nor
`matrix-ma1sd.service` after `migrate_mxisd.yml` had just run, so
stopping `matrix-ma1sd.service` was failing.
5 lat temu
Slavi Pantaleev
21662af3be
Archive database only after additional_psql_statements_list had executed
5 lat temu
Stuart Mumford
019a4d7dcd
Use role relative paths for things
5 lat temu
Slavi Pantaleev
ad1425eee4
Add pgloader self-building support (for ARM)
5 lat temu
Slavi Pantaleev
1bd5c240e5
Add support for executing additional DB migration statements
In cases where pgloader is not enough and we need to do some additional
migration work after it, we can now use
`additional_psql_statements_list` and
`additional_psql_statements_db_name`.
This is to be used when migrating `matrix-registration`'s data at the
very least.
5 lat temu
Slavi Pantaleev
af3ea67bba
Add (SQLite + Postgres) support and automatic migration to matrix-ma1sd
5 lat temu
Slavi Pantaleev
c1431b28f0
Make use of matrix_postgres_db_migration_request.caller
5 lat temu
Slavi Pantaleev
dc7850e83c
Fix wording and variable names a bit
5 lat temu
Slavi Pantaleev
bc376c2fb2
Add database migration utility to matrix-postgres role
5 lat temu