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"