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