Improved outside health check
This commit is contained in:
		
							parent
							
								
									0bce0414a9
								
							
						
					
					
						commit
						df137fb906
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		|  | @ -66,9 +66,15 @@ | ||||||
|     port: 443 |     port: 443 | ||||||
|   delegate_to: localhost |   delegate_to: localhost | ||||||
| 
 | 
 | ||||||
| - name: "Testing whether the Jitsi homepage is available" | - name: "Test whether Jitsi is healthy from the outside" | ||||||
|   action: uri url=https://{{ jitsi_virtual_host }} return_content=yes |   become: false | ||||||
|  |   uri: | ||||||
|  |     url: https://{{ jitsi_virtual_host }} | ||||||
|  |     return_content: yes | ||||||
|  |     timeout: 300 | ||||||
|  |     validate_certs: no | ||||||
|   register: url_check |   register: url_check | ||||||
|  |   delegate_to: localhost | ||||||
| 
 | 
 | ||||||
| - fail: | - fail: | ||||||
|     msg: 'Jitsi homepage is not available!' |     msg: 'Jitsi homepage is not available!' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue