Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 vuotta sitten
Slavi Pantaleev
e6ecd54e72
Suppress some ansible-lint errors
3 vuotta sitten
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
3 vuotta sitten
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
3 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 vuotta sitten
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 vuotta sitten
Michael Collins
98e6cd685d
sync with previous repo
4 vuotta sitten
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 vuotta sitten
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 vuotta sitten
Michael-GMH
85777e8f96
merge with upstream
4 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
21662af3be
Archive database only after additional_psql_statements_list had executed
5 vuotta sitten
Stuart Mumford
019a4d7dcd
Use role relative paths for things
5 vuotta sitten
Slavi Pantaleev
ad1425eee4
Add pgloader self-building support (for ARM)
5 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
af3ea67bba
Add (SQLite + Postgres) support and automatic migration to matrix-ma1sd
5 vuotta sitten
Slavi Pantaleev
c1431b28f0
Make use of matrix_postgres_db_migration_request.caller
5 vuotta sitten
Slavi Pantaleev
dc7850e83c
Fix wording and variable names a bit
5 vuotta sitten
Slavi Pantaleev
bc376c2fb2
Add database migration utility to matrix-postgres role
5 vuotta sitten