Improved and simplified healthcheck. Use with --tags health to run.
				
					
				
			This commit is contained in:
		
							parent
							
								
									44e1c6e2c5
								
							
						
					
					
						commit
						3df619860f
					
				
					 1 changed files with 1 additions and 8 deletions
				
			
		|  | @ -58,14 +58,6 @@ | ||||||
|     host: localhost |     host: localhost | ||||||
|     port: "{{ jitsi_exposed_http_port }}" |     port: "{{ jitsi_exposed_http_port }}" | ||||||
| 
 | 
 | ||||||
| - name: "Waiting for Jitsi service (443/TLS) to become available" |  | ||||||
|   become: false |  | ||||||
|   wait_for: |  | ||||||
|     # Use the FQDN here! |  | ||||||
|     host: "{{ jitsi_virtual_host }}" |  | ||||||
|     port: 443 |  | ||||||
|   delegate_to: localhost |  | ||||||
| 
 |  | ||||||
| - name: "Test whether Jitsi is healthy from the outside" | - name: "Test whether Jitsi is healthy from the outside" | ||||||
|   become: false |   become: false | ||||||
|   uri: |   uri: | ||||||
|  | @ -75,6 +67,7 @@ | ||||||
|     validate_certs: no |     validate_certs: no | ||||||
|   register: url_check |   register: url_check | ||||||
|   delegate_to: localhost |   delegate_to: localhost | ||||||
|  |   tags: health | ||||||
| 
 | 
 | ||||||
| - fail: | - fail: | ||||||
|     msg: 'Jitsi homepage is not available!' |     msg: 'Jitsi homepage is not available!' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue