2019-01-12 16:53:00 +01:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/init.yml"
|
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
|
2019-01-16 17:05:48 +01:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-05-21 17:25:59 +02:00
|
|
|
when: "run_setup|bool and matrix_postgres_enabled|bool"
|
2019-01-16 17:05:48 +01:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-postgres
|
|
|
|
|
2019-01-12 16:53:00 +01:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/setup_postgres.yml"
|
2019-05-21 17:25:59 +02:00
|
|
|
when: run_setup|bool
|
2019-01-12 16:53:00 +01:00
|
|
|
tags:
|
|
|
|
- setup-all
|
2019-01-16 17:05:48 +01:00
|
|
|
- setup-postgres
|
2019-01-12 16:53:00 +01:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/import_postgres.yml"
|
2019-07-08 07:55:08 +02:00
|
|
|
when: run_postgres_import|bool
|
2019-01-12 16:53:00 +01:00
|
|
|
tags:
|
|
|
|
- import-postgres
|
|
|
|
|
2020-12-14 00:48:36 +01:00
|
|
|
# The `run_postgres_import_sqlite_db` variable had better be renamed to be consistent,
|
|
|
|
# but that's a breaking change which may cause trouble for people.
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
|
2019-07-08 07:55:08 +02:00
|
|
|
when: run_postgres_import_sqlite_db|bool
|
2019-01-12 16:53:00 +01:00
|
|
|
tags:
|
2020-12-14 00:48:36 +01:00
|
|
|
- import-synapse-sqlite-db
|
2019-01-12 16:53:00 +01:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/upgrade_postgres.yml"
|
2019-07-08 07:55:08 +02:00
|
|
|
when: run_postgres_upgrade|bool
|
2019-01-12 16:53:00 +01:00
|
|
|
tags:
|
|
|
|
- upgrade-postgres
|
2019-07-08 08:38:24 +02:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/run_vacuum.yml"
|
|
|
|
when: run_postgres_vacuum|bool
|
|
|
|
tags:
|
|
|
|
- run-postgres-vacuum
|