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

19 строки
935 B

  1. ---
  2. - name: Check Matrix Client API
  3. uri:
  4. url: "{{ matrix_dendrite_client_api_url_endpoint_public }}"
  5. follow_redirects: none
  6. validate_certs: "{{ matrix_dendrite_self_check_validate_certificates }}"
  7. register: result_matrix_dendrite_client_api
  8. ignore_errors: true
  9. check_mode: false
  10. - name: Fail if Matrix Client API not working
  11. fail:
  12. msg: "Failed checking Matrix Client API is up at `{{ matrix_server_fqn_matrix }}` (checked endpoint: `{{ matrix_dendrite_client_api_url_endpoint_public }}`). Is Dendrite running? Is port 443 open in your firewall? Full error: {{ result_matrix_dendrite_client_api }}"
  13. when: "(result_matrix_dendrite_client_api.failed or 'json' not in result_matrix_dendrite_client_api)"
  14. - name: Report working Matrix Client API
  15. debug:
  16. msg: "The Matrix Client API at `{{ matrix_server_fqn_matrix }}` (checked endpoint: `{{ matrix_dendrite_client_api_url_endpoint_public }}`) is working"