Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

22 linhas
829 B

  1. ---
  2. - set_fact:
  3. riot_web_url_endpoint_public: "https://{{ matrix_server_fqn_riot }}/config.json"
  4. - name: Check riot-web
  5. uri:
  6. url: "{{ riot_web_url_endpoint_public }}"
  7. follow_redirects: none
  8. validate_certs: "{{ matrix_riot_web_self_check_validate_certificates }}"
  9. register: result_riot_web
  10. ignore_errors: true
  11. - name: Fail if riot-web not working
  12. fail:
  13. msg: "Failed checking riot-web is up at `{{ matrix_server_fqn_riot }}` (checked endpoint: `{{ riot_web_url_endpoint_public }}`). Is Riot running? Is port 443 open in your firewall? Full error: {{ result_riot_web }}"
  14. when: "result_riot_web.failed or 'json' not in result_riot_web"
  15. - name: Report working riot-web
  16. debug:
  17. msg: "riot-web at `{{ matrix_server_fqn_riot }}` is working (checked endpoint: `{{ riot_web_url_endpoint_public }}`)"