mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-22 10:28:09 +00:00
Related: https://github.com/status-im/infra-role-beacon-node/commit/92f740e0 Signed-off-by: Jakub Sokołowski <jakub@status.im>
14 lines
520 B
YAML
14 lines
520 B
YAML
---
|
|
- name: Discover Goerli Geth WebSocket endpoint
|
|
uri:
|
|
url: '{{ consul_catalog_url }}/service/{{ web3_geth_node_consul_name }}'
|
|
register: geth_service
|
|
|
|
- name: Extract Goerli Geth WebSocket URL
|
|
set_fact:
|
|
beacon_node_web3_urls:
|
|
# Our Goerli node goes first, and will be used by default.
|
|
- 'ws://{{ geth_service.json[0].ServiceAddress }}:{{ geth_service.json[0].ServicePort }}'
|
|
# We want to spread the load, but we want the choice to be deterministic.
|
|
- '{{ selected_infura_url }}'
|