update playbook
This commit is contained in:
parent
3c30999c5d
commit
864b96ea8e
@ -333,7 +333,7 @@
|
||||
# name: tun2socks
|
||||
# state: restarted
|
||||
|
||||
- name: Check API availability for RPC URL
|
||||
- name: Check RPC availability
|
||||
ansible.builtin.uri:
|
||||
url: "{{ rpc_url }}/health?"
|
||||
method: GET
|
||||
@ -346,7 +346,7 @@
|
||||
- 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
|
||||
- name: Check Binance URL availability
|
||||
ansible.builtin.uri:
|
||||
url: "https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1M&limit=1"
|
||||
method: GET
|
||||
@ -428,9 +428,9 @@
|
||||
- worker-1
|
||||
- worker-2
|
||||
|
||||
- name: Wait success send to chain
|
||||
- name: Wait success send
|
||||
ansible.builtin.shell: |
|
||||
python3 logs_parser.py 120
|
||||
python3 logs_parser.py 30
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node"
|
||||
register: docker_logs_check
|
||||
|
Loading…
Reference in New Issue
Block a user