Add support for installing RocketPool nodes

This commit is contained in:
Zahary Karadjov 2021-04-02 16:16:36 +03:00
parent d9c21f7d5b
commit f1afd251d5
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 30 additions and 0 deletions

View File

@ -34,6 +34,12 @@ beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_con
beacon_node_log_level: DEBUG
beacon_node_timer_rebuild: true
# RocketPool settings
# We use non-standard ports to avoid conflicts with out fleet nodes
rocketpool_smart_node_eth2_libp2p_port: 10001
rocketpool_smart_node_eth2_discovery_port: 10001
rocketpool_smart_node_eth2_graffiti: 'Nimbus on RocketPool'
# ports
beacon_node_rpc_port: '11000'
beacon_node_metrics_port : '9300'

View File

@ -31,6 +31,10 @@
src: git@github.com:status-im/infra-role-beacon-node.git
scm: git
- name: infra-role-rocketpool-smart-node
src: git@github.com:status-im/infra-role-rocketpool-smart-node.git
scm: git
- name: infra-role-eth2-testnet-site
src: git@github.com:status-im/infra-role-eth2-testnet-site.git
scm: git

20
ansible/rocketpool.yml Normal file
View File

@ -0,0 +1,20 @@
---
- name: Configure RocketPool nodes
become: true
hosts:
- testing-small-03.aws-eu-central-1a.nimbus.pyrmont
- testing-small-04.aws-eu-central-1a.nimbus.pyrmont
pre_tasks:
- name: Discover Goerli Geth WebSocket endpoint
tags: [ infra-role-rocketpool-smart-node, rocketpool ]
uri:
url: '{{ consul_catalog_url }}/service/nimbus-goerli-node-ws'
register: geth_service
- name: Extract Goerli Geth WebSocket URL
tags: [ infra-role-rocketpool-smart-node, rocketpool ]
set_fact:
rocketpool_smart_node_web3_url: 'ws://{{ geth_service.json[0].ServiceAddress }}:{{ geth_service.json[0].ServicePort }}'
roles:
- { role: infra-role-rocketpool-smart-node, tags: rocketpool }