Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

28 строки
1.1 KiB

  1. ---
  2. - name: (Deprecation) Warn about matrix_postgres_use_external usage
  3. fail:
  4. msg: >
  5. The `matrix_postgres_use_external` variable defined in your configuration is not used by this playbook anymore!
  6. You'll need to adapt to the new way of using an external Postgres server.
  7. It's a combination of `matrix_postgres_enabled: false` and specifying Postgres connection
  8. details in a few `matrix_synapse_database_` variables.
  9. See the "Using an external PostgreSQL server (optional)" documentation page.
  10. when: "'matrix_postgres_use_external' in vars"
  11. - name: Fail if required Postgres settings not defined
  12. fail:
  13. msg: >
  14. You need to define a required configuration setting (`{{ item }}`).
  15. when: "vars[item] == ''"
  16. with_items:
  17. - "matrix_postgres_connection_hostname"
  18. - "matrix_postgres_connection_username"
  19. - "matrix_postgres_connection_password"
  20. - "matrix_postgres_db_name"
  21. - name: Fail if Postgres password length exceeded
  22. fail:
  23. msg: "The maximum `matrix_postgres_connection_password` length is 99 characters"
  24. when: "matrix_postgres_connection_hostname|length > 99"