Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

22 řádky
858 B

  1. ---
  2. - set_fact:
  3. mxisd_url_endpoint_public: "https://{{ matrix_server_fqn_matrix }}/_matrix/identity/api/v1"
  4. - name: Check mxisd Identity Service
  5. uri:
  6. url: "{{ mxisd_url_endpoint_public }}"
  7. follow_redirects: false
  8. validate_certs: "{{ matrix_mxisd_self_check_validate_certificates }}"
  9. register: result_mxisd
  10. ignore_errors: true
  11. - name: Fail if mxisd Identity Service not working
  12. fail:
  13. msg: "Failed checking mxisd is up at `{{ matrix_server_fqn_matrix }}` (checked endpoint: `{{ mxisd_url_endpoint_public }}`). Is mxisd running? Is port 443 open in your firewall? Full error: {{ result_mxisd }}"
  14. when: "result_mxisd.failed or 'json' not in result_mxisd"
  15. - name: Report working mxisd Identity Service
  16. debug:
  17. msg: "mxisd at `{{ matrix_server_fqn_matrix }}` is working (checked endpoint: `{{ mxisd_url_endpoint_public }}`)"