Added URL check to confirm that the Jitsi homepage is available

This commit is contained in:
Jan Beilicke 2020-03-23 21:04:12 +01:00
parent 57761d83d5
commit 9812972f4c

View file

@ -70,10 +70,10 @@
port: 443
delegate_to: localhost
# - name: "Testing whether the Nextcloud homepage is available#"
# action: uri url=http://{{ ansible_ssh_host }} return_content=yes
# register: gl
- name: "Testing whether the Jitsi homepage is available"
action: uri url=https://{{ jitsi_virtual_host }} return_content=yes
register: url_check
# - fail:
# msg: 'Graylog homepage is not available!'
# when: "'Graylog Web Interface' not in gl.content"
- fail:
msg: 'Jitsi homepage is not available!'
when: "'<title>Jitsi Meet' not in url_check.content"