From b86bbe2da5c788d35778beb1e5c0fe52ed711e40 Mon Sep 17 00:00:00 2001 From: Jacob Shufro Date: Thu, 11 Dec 2025 17:46:52 +0000 Subject: [PATCH] Add client_datadir vars to ethereum_node_fact_discovery_el_key_cmd --- .../ethereum_node_fact_discovery/defaults/main.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/ethereum_node_fact_discovery/defaults/main.yaml b/roles/ethereum_node_fact_discovery/defaults/main.yaml index 5ac52972..4c9c6834 100644 --- a/roles/ethereum_node_fact_discovery/defaults/main.yaml +++ b/roles/ethereum_node_fact_discovery/defaults/main.yaml @@ -3,12 +3,12 @@ ethereum_node_fact_discovery_cl: true # How to find the EL node key on the target system ethereum_node_fact_discovery_el_key_cmd: - besu: cat /data/besu/key | cut -d 'x' -f2 - geth: cat /data/geth/geth/nodekey - erigon: cat /data/erigon/nodekey - nethermind: xxd -p -c32 /data/nethermind/keystore/node.key.plain - reth: cat /data/reth/discovery-secret - nimbusel: cat /data/nimbusel/nodekey | cut -d 'x' -f2 + besu: cat {{ besu_datadir | default('/data/besu') }}/key | cut -d 'x' -f2 + geth: cat {{ geth_datadir | default('/data/geth') }}/geth/nodekey + erigon: cat {{ erigon_datadir | default('/data/erigon') }}/nodekey + nethermind: xxd -p -c32 {{ nethermind_datadir | default('/data/nethermind') }}/keystore/node.key.plain + reth: cat {{ reth_datadir | default('/data/reth') }}/discovery-secret + nimbusel: cat {{ nimbusel_datadir | default('/data/nimbusel') }}/nodekey | cut -d 'x' -f2 # How to find the EL enode on the target system ethereum_node_fact_discovery_el_enode_cmd: