2019-01-12 15:53:00 +00:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/init.yml"
|
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
|
2019-01-16 16:05:48 +00:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-05-21 15:25:59 +00:00
|
|
|
when: "run_setup|bool and matrix_postgres_enabled|bool"
|
2019-01-16 16:05:48 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-postgres
|
|
|
|
|
2019-01-12 15:53:00 +00:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/setup_postgres.yml"
|
2019-05-21 15:25:59 +00:00
|
|
|
when: run_setup|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
2019-01-16 16:05:48 +00:00
|
|
|
- setup-postgres
|
2019-01-12 15:53:00 +00:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/import_postgres.yml"
|
2019-07-08 05:55:08 +00:00
|
|
|
when: run_postgres_import|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- import-postgres
|
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/import_sqlite_db.yml"
|
2019-07-08 05:55:08 +00:00
|
|
|
when: run_postgres_import_sqlite_db|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- import-sqlite-db
|
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/upgrade_postgres.yml"
|
2019-07-08 05:55:08 +00:00
|
|
|
when: run_postgres_upgrade|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- upgrade-postgres
|
2019-07-08 06:38:24 +00:00
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/run_synapse_janitor.yml"
|
|
|
|
when: run_postgres_synapse_janitor|bool
|
|
|
|
tags:
|
|
|
|
- run-postgres-synapse-janitor
|
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/run_vacuum.yml"
|
|
|
|
when: run_postgres_vacuum|bool
|
|
|
|
tags:
|
|
|
|
- run-postgres-vacuum
|