Matrix Docker Ansible eploy
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

28 rader
1.0 KiB

  1. ---
  2. - name: Fail if required matrix-registration settings not defined
  3. fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item }}`) for using matrix-registration.
  6. when: "vars[item] == ''"
  7. with_items:
  8. - "matrix_registration_shared_secret"
  9. - "matrix_registration_admin_secret"
  10. - "matrix_registration_server_location"
  11. - name: (Deprecation) Catch and report renamed settings
  12. fail:
  13. msg: >-
  14. Your configuration contains a variable, which now has a different name.
  15. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  16. when: "item.old in vars"
  17. with_items:
  18. - {'old': 'matrix_registration_docker_repo', 'new': 'matrix_registration_container_image_self_build_repo'}
  19. - name: Fail if Postgres usage attempted
  20. fail:
  21. msg: >
  22. matrix-registration doesn't support using Postgres just yet.
  23. Learn more here: https://github.com/ZerataX/matrix-registration/issues/44
  24. when: "matrix_registration_database_engine == 'postgres'"