remove RPC check
This commit is contained in:
		@ -333,18 +333,18 @@
 | 
				
			|||||||
        name: tun2socks
 | 
					        name: tun2socks
 | 
				
			||||||
        state: restarted
 | 
					        state: restarted
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check API availability for RPC URL
 | 
					#    - name: Check API availability for RPC URL
 | 
				
			||||||
      ansible.builtin.uri:
 | 
					#      ansible.builtin.uri:
 | 
				
			||||||
        url: "{{ rpc_url }}/health?"
 | 
					#        url: "{{ rpc_url }}/health?"
 | 
				
			||||||
        method: GET
 | 
					#        method: GET
 | 
				
			||||||
        return_content: true
 | 
					#        return_content: true
 | 
				
			||||||
        timeout: 30
 | 
					#        timeout: 30
 | 
				
			||||||
      register: rpc_url_response
 | 
					#      register: rpc_url_response
 | 
				
			||||||
      retries: 3
 | 
					#      retries: 3
 | 
				
			||||||
      delay: 120
 | 
					#      delay: 120
 | 
				
			||||||
      failed_when:
 | 
					#      failed_when:
 | 
				
			||||||
        - rpc_url_response.status != 200
 | 
					#        - rpc_url_response.status != 200
 | 
				
			||||||
        - rpc_url_response.json is not none and rpc_url_response.json is not defined
 | 
					#        - rpc_url_response.json is not none and rpc_url_response.json is not defined
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check API availability for Binance URL
 | 
					    - name: Check API availability for Binance URL
 | 
				
			||||||
      ansible.builtin.uri:
 | 
					      ansible.builtin.uri:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user