matrix-docker-ansible-deploy/roles/matrix-postgres/tasks
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.
2020-12-29 10:31:20 +02:00
..
util Never fail when stopping systemd service during (SQLite -> Postgres) migration 2020-12-29 10:31:20 +02:00
import_generic_sqlite_db.yml Make --tags=import-generic-sqlite-db commands not pass a sensitive connection string around 2020-12-14 11:47:00 +02:00
import_postgres.yml Fix Postgres database importing/upgrading conflicts 2020-12-14 22:28:20 +02:00
import_synapse_sqlite_db.yml Rename some doc files and commands related to importing 2020-12-14 01:51:00 +02:00
init.yml Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8 2019-05-21 10:25:59 -05:00
main.yml Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack 2020-12-22 19:56:52 +02:00
migrate_postgres_data_directory.yml Allow the matrix user username and groupname to be configured separately 2020-05-01 19:59:32 +02:00
run_vacuum.yml Remove hardcoded command paths in playbook shell usage 2020-05-27 23:14:56 +02:00
setup_postgres.yml Do not execute additional databases creation code if not necessary 2020-12-13 23:46:05 +02:00
upgrade_postgres.yml Fix Postgres database importing/upgrading conflicts 2020-12-14 22:28:20 +02:00
validate_config.yml Ensure Postgres passwords are not longer than 99 characters 2020-11-26 09:51:48 +02:00