Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

20 righe
725 B

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