Adds a retry to the URL check whether Jitsi is available from the public internet
This commit is contained in:
		
							parent
							
								
									a75f75e8be
								
							
						
					
					
						commit
						3a957045af
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -90,12 +90,11 @@ | ||||||
|     validate_certs: no |     validate_certs: no | ||||||
|   register: url_check |   register: url_check | ||||||
|   delegate_to: localhost |   delegate_to: localhost | ||||||
|  |   until: "'<title>Jitsi Meet' in url_check.content" | ||||||
|  |   retries: 5 | ||||||
|  |   delay: 10 | ||||||
|   tags: health |   tags: health | ||||||
| 
 | 
 | ||||||
| - fail: |  | ||||||
|     msg: 'Jitsi homepage is not available!' |  | ||||||
|   when: "'<title>Jitsi Meet' not in url_check.content" |  | ||||||
| 
 |  | ||||||
| - name: "Config: Set channelLastN" | - name: "Config: Set channelLastN" | ||||||
|   lineinfile: |   lineinfile: | ||||||
|     path: /home/{{ docker_user }}/jitsi/conf/web/config.js |     path: /home/{{ docker_user }}/jitsi/conf/web/config.js | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue