Skip to content

Commit d40e2ad

Browse files
committed
initial ansible run
1 parent 54c5afc commit d40e2ad

File tree

126 files changed

+5890
-32
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+5890
-32
lines changed

ansible/inventories/devnet-0/group_vars/all/all.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ethereum_node_beacon_prefix: "bn-" # prefix for beacon URLs
2323
ethereum_node_rcp_hostname: "{{ ethereum_node_rpc_prefix }}{{ server_fqdn }}"
2424
ethereum_node_beacon_hostname: "{{ ethereum_node_beacon_prefix }}{{ server_fqdn }}"
2525

26-
primary_bootnode: bootnode-1
26+
primary_bootnode: bootnode-1-arm
2727

2828
### Checkpoint sync specific for Ansible & Kubernetes
2929
checkpoint_sync_node: "{{ primary_bootnode }}"
@@ -61,7 +61,7 @@ ethereum_genesis_generator_config_files:
6161
values.env: |-
6262
export CHAIN_ID="{{ ethereum_genesis_chain_id }}"
6363
export EL_AND_CL_MNEMONIC="{{ ethereum_genesis_mnemonic }}"
64-
export NUMBER_OF_VALIDATORS=400
64+
export NUMBER_OF_VALIDATORS=800
6565
export GENESIS_FORK_VERSION="0x10{{ ethereum_genesis_fork_version_suffix }}"
6666
export ALTAIR_FORK_VERSION="0x20{{ ethereum_genesis_fork_version_suffix }}"
6767
export BELLATRIX_FORK_VERSION="0x30{{ ethereum_genesis_fork_version_suffix }}"

ansible/inventories/devnet-0/group_vars/all/images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ default_ethereum_client_images:
1212
geth: ethpandaops/geth:bal-devnet-0
1313
erigon: erigontech/erigon:main-latest
1414
nethermind: ethpandaops/nethermind:bal-devnet-0
15-
reth: ethpandaops/bal-devnet-0
15+
reth: ethpandaops/reth:bal-devnet-0
1616
nimbusel: ethpandaops/nimbus-eth1:master
1717

1818
default_tooling_images:

ansible/inventories/devnet-0/group_vars/bootnode.yaml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
ethereum_cl_bootnode: "{{ hostvars[primary_bootnode]['cl_bootnode_fact_enr'] }}"
22

3+
# role: ethpandaops.general.lighthouse_bootnode
4+
lighthouse_bootnode_container_image: "{{ default_ethereum_client_images.lighthouse }}"
5+
lighthouse_bootnode_lcli_image: "sigp/lcli:latest"
6+
lighthouse_bootnode_container_pull: true
7+
lighthouse_bootnode_testnet_config_dir: "{{ eth_testnet_config_dir }}"
8+
39
# role: eth_inventory_web
410
eth_inventory_web_container_networks: "{{ docker_networks_shared }}"
511
eth_inventory_web_container_env:
@@ -11,29 +17,27 @@ eth_inventory_web_container_env:
1117

1218
# role: ethpandaops.general.ethereum_node
1319
ethereum_node_el: geth
14-
ethereum_node_cl: teku
20+
ethereum_node_cl: lodestar
1521
ethereum_node_cl_validator_enabled: false
1622

17-
# role: ethpandaops.general.teku
18-
teku_container_name: beacon
19-
teku_container_image: "{{ default_ethereum_client_images.teku }}"
20-
teku_container_env:
23+
# role: ethpandaops.general.lodestar
24+
lodestar_container_name: beacon
25+
lodestar_container_image: "{{ default_ethereum_client_images.lodestar }}"
26+
lodestar_container_env:
2127
VIRTUAL_HOST: "{{ ethereum_node_beacon_hostname }}"
2228
VIRTUAL_PORT: "{{ ethereum_node_cl_ports_http_beacon | string }}"
2329
LETSENCRYPT_HOST: "{{ ethereum_node_beacon_hostname }}"
24-
teku_container_volumes:
25-
- "{{ teku_datadir }}:/data"
26-
- "{{ teku_auth_jwt_path }}:/execution-auth.jwt:ro"
30+
lodestar_container_volumes:
31+
- "{{ lodestar_datadir }}:/data"
32+
- "{{ lodestar_auth_jwt_path }}:/execution-auth.jwt:ro"
2733
- "{{ eth_testnet_config_dir }}:/network-config:ro"
28-
teku_container_command_extra_args:
29-
- --network=/network-config/config.yaml
30-
- --genesis-state=/network-config/genesis.ssz
31-
- --p2p-peer-upper-bound=100
32-
- --data-storage-non-canonical-blocks-enabled=true
33-
- --data-storage-mode=ARCHIVE
34-
- --logging=info
35-
- --Xlog-include-p2p-warnings-enabled
36-
- --metrics-block-timing-tracking-enabled
34+
lodestar_container_command_extra_args:
35+
- --paramsFile=/network-config/config.yaml
36+
- --genesisStateFile=/network-config/genesis.ssz
37+
- --rest.namespace="*"
38+
- --network.connectToDiscv5Bootnodes
39+
- --nat=true
40+
- --logLevel=info
3741

3842
# role: ethpandaops.general.geth
3943
geth_container_name: execution

ansible/inventories/devnet-0/group_vars/nethermind.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ nethermind_container_command_extra_args:
3030
- --Init.ChainSpecPath=/network-config/chainspec.json
3131
- --JsonRpc.EnabledModules=Eth,Subscribe,Trace,TxPool,Web3,Personal,Proof,Net,Parity,Health,Rpc,Debug,Admin
3232
- --Discovery.Bootnodes={{ ethereum_el_bootnodes | join(',') }}
33-
- --Init.IsMining=false
3433
- --Pruning.Mode=None
3534
- --config=none
3635
- --log=DEBUG

ansible/inventories/devnet-0/hetzner_inventory.ini

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ localhost
44
ethereum_network_name=bal-devnet-0
55

66
[bootnode]
7-
bootnode-1-arm ansible_host=91.98.28.27 ipv6=2a01:4f8:1c1c:1975::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True
8-
bootnode-1 ansible_host=91.98.28.27 ipv6=2a01:4f8:1c1c:1975::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True
7+
bootnode-1-arm ansible_host=138.199.195.106 ipv6=2a01:4f8:1c1a:3030::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True
98

109
[lodestar_besu_super]
11-
lodestar-besu-super-1-arm ansible_host=116.203.224.134 ipv6=2a01:4f8:c2c:d2eb::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=400 validator_end=600
10+
lodestar-besu-super-1-arm ansible_host=91.98.138.241 ipv6=2a01:4f8:c2c:d2eb::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=400 validator_end=600
1211

1312
[lodestar_geth_super]
14-
lodestar-geth-super-1-arm ansible_host=91.98.138.241 ipv6=2a01:4f8:1c1e:d34c::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=0 validator_end=200
13+
lodestar-geth-super-1-arm ansible_host=116.203.224.134 ipv6=2a01:4f8:1c1e:d34c::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=0 validator_end=200
1514

1615
[lodestar_nethermind_super]
17-
lodestar-nethermind-super-1-arm ansible_host=138.199.195.106 ipv6=2a01:4f8:1c1a:3030::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=200 validator_end=400
16+
lodestar-nethermind-super-1-arm ansible_host=167.235.68.172 ipv6=2a01:4f8:1c1c:1975::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=200 validator_end=400
1817

1918
[lodestar_reth_super]
20-
lodestar-reth-super-1-arm ansible_host=167.235.68.172 ipv6=2a01:4f8:1c1a:1e40::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=600 validator_end=800
19+
lodestar-reth-super-1-arm ansible_host=91.98.28.27 ipv6=2a01:4f8:1c1a:1e40::1 cloud=hetzner cloud_region=nbg1-dc3 ethereum_node_cl_supernode_enabled=True validator_start=600 validator_end=800
2120

2221

2322
# Consensus client groups

ansible/playbook.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
- hosts: bootnode
4444
become: true
4545
roles:
46-
- role: ethpandaops.general.cl_bootnode
47-
tags: [cl_bootnode]
46+
- role: ethpandaops.general.lighthouse_bootnode
47+
tags: [lighthouse_bootnode, bootnode]
4848
- role: ethpandaops.general.ethereum_testnet_config
4949
tags: [ethereum, eth_testnet_config, ethereum_testnet_config]
5050
- role: ethpandaops.general.validator_keys
@@ -93,15 +93,14 @@
9393
rate_upload: 1000mbit
9494
tags: [traffic_control]
9595

96-
- hosts: "{{ primary_bootnode }}"
96+
- hosts: bootnode
9797
become: true
9898
tasks:
9999
- name: Refresh inventory web
100100
ansible.builtin.import_role:
101101
name: ethpandaops.general.ethereum_inventory_web
102102
tags: [eth_inventory_web, ethereum_inventory_web]
103-
delegate_to: "{{ primary_bootnode }}"
104-
run_once: true
103+
when: inventory_hostname == primary_bootnode
105104
vars:
106105
eth_inventory_web_container_networks: "{{ docker_networks_shared }}" #noqa var-naming[no-role-prefix]
107106
eth_inventory_web_container_env: #noqa var-naming[no-role-prefix]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: assertoor
3+
repository: https://ethpandaops.github.io/ethereum-helm-charts
4+
version: 1.0.0
5+
digest: sha256:2d4ee7434b5215b6b01b9ac1a9b96edc688b1dfe60d01ed8c1ded7540c9c45f6
6+
generated: "2025-10-28T13:22:52.604716272+01:00"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Ansible managed. Don't change this file manually. Template info: /vendor/collections/ansible_collections/ethpandaops/general/roles/generate_kubernetes_config/templates/Chart.yaml.j2
2+
3+
apiVersion: v2
4+
name: assertoor
5+
description: A Helm chart for Kubernetes
6+
type: application
7+
version: 0.1.0
8+
dependencies:
9+
- name: assertoor
10+
repository: https://ethpandaops.github.io/ethereum-helm-charts
11+
version: 1.0.0
7.69 KB
Binary file not shown.

0 commit comments

Comments
 (0)