Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

26 righe
1.3 KiB

  1. ---
  2. - name: Verify homeserver_url is not empty
  3. ansible.builtin.assert:
  4. that:
  5. - matrix_user_verification_service_uvs_homeserver_url|length > 0
  6. fail_msg: "Missing variable in {{ matrix_user_verification_service_ansible_name }} role"
  7. - name: Verify Auth is configured properly or disabled
  8. ansible.builtin.assert:
  9. that:
  10. - matrix_user_verification_service_uvs_access_token|length > 0 or not matrix_user_verification_service_uvs_require_auth|bool
  11. fail_msg: "If Auth is enabled, a valid (non empty) TOKEN must be given in 'matrix_user_verification_service_uvs_access_token'."
  12. - name: Verify server_name for openid verification is given, if pinning a single server_name is enabled.
  13. ansible.builtin.assert:
  14. that:
  15. - matrix_user_verification_service_uvs_openid_verify_server_name|length > 0 or not matrix_user_verification_service_uvs_pin_openid_verify_server_name|bool
  16. fail_msg: "If pinning a single server_name is enabled, a valid (non empty) server_name must be given in 'matrix_user_verification_service_uvs_openid_verify_server_name'."
  17. - name: Verify the homeserver implementation is synapse
  18. ansible.builtin.assert:
  19. that:
  20. - matrix_homeserver_implementation == 'synapse'
  21. fail_msg: "The User-Verification-Service requires Synapse as homeserver implementation"