Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

33 wiersze
1.9 KiB

  1. ---
  2. - when: matrix_playbook_reverse_proxy_type not in ['playbook-managed-nginx', 'other-nginx-non-container']
  3. name: Fail if reverse-proxy is not nginx
  4. ansible.builtin.fail:
  5. msg: >
  6. Etherpad's integration into matrix-nginx-proxy's Dimension server only makes sense if you're using matrix-nginx-proxy.
  7. `matrix_playbook_reverse_proxy_type` ({{ matrix_playbook_reverse_proxy_type }}) indicates that you're using another reverse-proxy.
  8. If you're using Traefik, you should configure `etherpad_hostname` and `etherpad_path_prefix` instead.
  9. - when: not matrix_dimension_enabled
  10. name: Fail if Dimension not enabled
  11. ansible.builtin.fail:
  12. msg: >
  13. Etherpad's integration into matrix-nginx-proxy's Dimension server only makes sense if you're using Dimension.
  14. Looks like Dimension is not enabled in your configuration (judging by `matrix_dimension_enabled`).
  15. Consider configuring `etherpad_hostname` and `etherpad_path_prefix` instead.
  16. - when: etherpad_hostname != matrix_server_fqn_dimension
  17. name: Fail if Etherpad hostname does not match Dimension hostname
  18. ansible.builtin.fail:
  19. msg: >
  20. Etherpad's integration into matrix-nginx-proxy's Dimension server requires that you set `etherpad_hostname` to `matrix_server_fqn_dimension`.
  21. Consider adding this to your configuration: `{% raw %}etherpad_hostname: "{{ matrix_server_fqn_dimension }}"{% endraw %}`
  22. - when: etherpad_nginx_proxy_dimension_integration_path_prefix == '/'
  23. name: Fail if / path prefix used for Etherpad
  24. ansible.builtin.fail:
  25. msg: >
  26. Etherpad's integration into matrix-nginx-proxy's Dimension server only makes sense if you're using a non-`/` path for Etherpad.
  27. You've chosen a path prefix of `/` in `etherpad_nginx_proxy_dimension_integration_path_prefix`.
  28. The `/` path must go to Dimension itself, so you need to pick a different prefix (e.g. `/etherpad`).