hint supported automatic migration nedb->postgres

This commit is contained in:
transcaffeine
2020-12-14 16:27:06 +01:00
parent 3ab7dd1abe
commit 13d8a9b39c
3 changed files with 134 additions and 1 deletions

View File

@ -32,6 +32,22 @@
tags:
- import-generic-sqlite-db
# Imports appservice-irc NeDB into postgres
- import_tasks: "{{ role_path }}/tasks/import_nedb.yml"
vars:
database: appservice_irc
when: run_postgres_import_nedb|bool
tags:
- import-irc-nedb
# 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: