Skip to content

Commit b86bbe2

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

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 | default('/data/besu') }}/key | cut -d 'x' -f2
7+
geth: cat {{ geth_datadir | default('/data/geth') }}/geth/nodekey
8+
erigon: cat {{ erigon_datadir | default('/data/erigon') }}/nodekey
9+
nethermind: xxd -p -c32 {{ nethermind_datadir | default('/data/nethermind') }}/keystore/node.key.plain
10+
reth: cat {{ reth_datadir | default('/data/reth') }}/discovery-secret
11+
nimbusel: cat {{ nimbusel_datadir | default('/data/nimbusel') }}/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)