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

17 строки
811 B

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