diff --git a/ansible/group_vars/nimbus.mainnet.yml b/ansible/group_vars/nimbus.mainnet.yml index 374d574..860cb35 100644 --- a/ansible/group_vars/nimbus.mainnet.yml +++ b/ansible/group_vars/nimbus.mainnet.yml @@ -69,12 +69,16 @@ beacon_node_light_client_data_import_mode: 'full' # Execution layer Enginer API beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}' beacon_node_exec_layer_urls_local_geth: ['http://localhost:{{ geth_authrpc_port|string }}'] -beacon_node_exec_layer_urls: |- +beacon_node_exec_layer_urls_auto: |- {{ (data_center in ["he-eu-hel1", "ih-eu-mda1"]) | ternary( beacon_node_exec_layer_urls_local_geth, beacon_node_exec_layer_urls_discovered_geth ) }} +beacon_node_exec_layer_urls: |- + {{ beacon_node_exec_layer_urls_auto if inventory_hostname_short == "linux-01" + else (idx % 2 == 0) | ternary(beacon_node_exec_layer_urls_auto, []) }} + # Periodic resync to save space beacon_node_resync_enabled: true beacon_node_resync_timer_enabled: '{{ (idx % 2 == 1) and not node.get("public_api") }}' @@ -111,7 +115,7 @@ nodes_layout: - { branch: 'stable', history: 'archive' } # Innova Hosting --------------------------------------------------- - 'linux-01.ih-eu-mda1.nimbus.mainnet': + 'linux-01.ih-eu-mda1.nimbus.mainnet': # Frankenstein host, all nodes use one Geth. - { branch: 'stable', num: 1 } - { branch: 'stable', num: 2 } - { branch: 'testing', num: 1, open_libp2p_ports: false } diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 42f39b7..7f4071b 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -45,17 +45,17 @@ - name: infra-role-beacon-node-linux src: git@github.com:status-im/infra-role-beacon-node-linux.git - version: 99a445d1ee3fa8d437088e72df6e9f88edf148d9 + version: c401b27637e3b06e4a5de05618edce0f7f36b40c scm: git - name: infra-role-beacon-node-windows src: git@github.com:status-im/infra-role-beacon-node-windows.git - version: dba21b36df6f9a3282f59fd71efe45c010c1b10f + version: f3fc1aa3093fa2832a70d2ebb43269ebd16eb307 scm: git - name: infra-role-beacon-node-macos src: git@github.com:status-im/infra-role-beacon-node-macos.git - version: eecf9feaa02f2ddd9c5e35b00c6d0e897a1a11af + version: 370b823f5f54578e5cbb7c53c2d91b442384def4 scm: git - name: infra-role-validator-client