Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack

This commit is contained in:
Slavi Pantaleev
2020-12-22 19:56:52 +02:00
parent 9b95e1937c
commit 8675dedbdb
9 changed files with 123 additions and 144 deletions

View File

@ -32,14 +32,6 @@
tags:
- import-generic-sqlite-db
# Imports slacks neDB to postgres.
- import_tasks: "{{ role_path }}/tasks/import_nedb.yml"
vars:
database: appservice_slack
when: run_postgres_import_nedb|bool
tags:
- import-slack-nedb
- import_tasks: "{{ role_path }}/tasks/upgrade_postgres.yml"
when: run_postgres_upgrade|bool
tags: