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ů.
 
 

20 řádky
756 B

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