Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

20 wiersze
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 }}`)"