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