Skip to content

Commit 3ceeff3

Browse files
committed
Add client_datadir vars to ethereum_node_fact_discovery_el_key_cmd
1 parent 8f09510 commit 3ceeff3

File tree

1 file changed

+6
-6
lines changed
  • roles/ethereum_node_fact_discovery/defaults

1 file changed

+6
-6
lines changed

roles/ethereum_node_fact_discovery/defaults/main.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ ethereum_node_fact_discovery_cl: true
33

44
# How to find the EL node key on the target system
55
ethereum_node_fact_discovery_el_key_cmd:
6-
besu: cat /data/besu/key | cut -d 'x' -f2
7-
geth: cat /data/geth/geth/nodekey
8-
erigon: cat /data/erigon/nodekey
9-
nethermind: xxd -p -c32 /data/nethermind/keystore/node.key.plain
10-
reth: cat /data/reth/discovery-secret
11-
nimbusel: cat /data/nimbusel/nodekey | cut -d 'x' -f2
6+
besu: cat {{ besu_datadir }}/key | cut -d 'x' -f2
7+
geth: cat {{ geth_datadir }}/geth/nodekey
8+
erigon: cat {{ erigon_datadir }}/nodekey
9+
nethermind: xxd -p -c32 {{ nethermind_datadir }}/keystore/node.key.plain
10+
reth: cat {{ reth_datadir }}/discovery-secret
11+
nimbusel: cat {{ nimbus_datadir }}/nodekey | cut -d 'x' -f2
1212

1313
# How to find the EL enode on the target system
1414
ethereum_node_fact_discovery_el_enode_cmd:

0 commit comments

Comments
 (0)