nimbus.prater: enable nimbus-era-files role

Necessary to generate ERA files for hosting.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-11-08 17:56:03 +01:00
parent f75c94e6f5
commit fff4ae5c0a
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 12 additions and 2 deletions

View File

@ -99,6 +99,15 @@ validator_client_dist_validators_enabled: '{{ node.start is defined and node.end
validator_client_dist_validators_start: '{{ (not node.get("validator_client", false)) | ternary(0, node.start) | mandatory }}'
validator_client_dist_validators_end: '{{ (not node.get("validator_client", false)) | ternary(0, node.end) | mandatory }}'
# ERA files geneartion.
nimbus_era_files_timer_enabled: '{{ (nodes_layout[hostname]|length) > 1 }}'
nimbus_era_files_timer_path: '/data/era'
nimbus_era_files_network: '{{ beacon_node_network }}'
# FIXME: Not pretty, since hardcoded, but the simplest way to do it right now.
nimbus_era_files_node_service_path: '/data/beacon-node-{{ beacon_node_network }}-stable'
nimbus_era_files_nclidb_path: '{{ nimbus_era_files_node_service_path }}/repo/build/ncli_db'
nimbus_era_files_db_path: '{{ nimbus_era_files_node_service_path }}/data/db'
# Open Ports
open_ports_default_comment: 'Nimbus REST API'
open_ports_default_chain: 'VPN'

View File

@ -34,8 +34,9 @@
serial: '{{ serial|default(1) }}'
hosts: nimbus-prater-metal
roles:
- { role: open-ports, tags: open-ports }
- { role: redirect-ports, tags: [ redirect-ports ] }
- { role: open-ports, tags: [ open-ports ] }
- { role: redirect-ports, tags: [ redirect-ports ] }
- { role: nimbus-era-files, tags: [ nimbus-era-files ] }
tasks:
- include_role: name=infra-role-geth
tags: [ geth, infra-role-geth ]