Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 rivejä
1.2 KiB

  1. - import_tasks: "{{ role_path }}/tasks/init.yml"
  2. tags:
  3. - always
  4. - import_tasks: "{{ role_path }}/tasks/validate_config.yml"
  5. when: "run_setup|bool and matrix_postgres_enabled|bool"
  6. tags:
  7. - setup-all
  8. - setup-postgres
  9. - import_tasks: "{{ role_path }}/tasks/setup_postgres.yml"
  10. when: run_setup|bool
  11. tags:
  12. - setup-all
  13. - setup-postgres
  14. - import_tasks: "{{ role_path }}/tasks/import_postgres.yml"
  15. when: run_postgres_import|bool
  16. tags:
  17. - import-postgres
  18. # The `run_postgres_import_sqlite_db` variable had better be renamed to be consistent,
  19. # but that's a breaking change which may cause trouble for people.
  20. - import_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
  21. when: run_postgres_import_sqlite_db|bool
  22. tags:
  23. - import-synapse-sqlite-db
  24. # Perhaps we need a new variable here, instead of `run_postgres_import_sqlite_db`.
  25. - import_tasks: "{{ role_path }}/tasks/import_generic_sqlite_db.yml"
  26. when: run_postgres_import_sqlite_db|bool
  27. tags:
  28. - import-generic-sqlite-db
  29. - import_tasks: "{{ role_path }}/tasks/upgrade_postgres.yml"
  30. when: run_postgres_upgrade|bool
  31. tags:
  32. - upgrade-postgres
  33. - import_tasks: "{{ role_path }}/tasks/run_vacuum.yml"
  34. when: run_postgres_vacuum|bool
  35. tags:
  36. - run-postgres-vacuum