mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-10 05:45:51 +00:00
Jakub Sokołowski
823196a0d9
Needs JWT secrets configured and changes to Consul queries. Signed-off-by: Jakub Sokołowski <jakub@status.im>
21 lines
674 B
YAML
21 lines
674 B
YAML
---
|
|
- include_tasks: consul/posix.yml
|
|
when: ansible_system in ['Linux', 'Darwin']
|
|
loop: '{{ geth_node_api_consul_names }}'
|
|
loop_control:
|
|
loop_var: 'service_name'
|
|
|
|
- include_tasks: consul/windows.yml
|
|
when: ansible_system == 'Win32NT'
|
|
loop: '{{ geth_node_api_consul_names }}'
|
|
loop_control:
|
|
loop_var: 'service_name'
|
|
|
|
- name: Extract Goerli Geth WebSocket URL
|
|
set_fact:
|
|
# Our nodes first (will be used by default) then an Infura node.
|
|
# Currently only Mainnet has not had it's merge, so it can use Infura.
|
|
beacon_node_web3_urls_all: |
|
|
{{ geth_api_addresses +
|
|
(eth1_network_name == "mainnet") | ternary([selected_infura_url], []) }}
|