infra-nimbus/ansible/group_vars/nimbus.prater.yml

44 lines
2.4 KiB
YAML

---
# Not pretty but avoids useless files
node_size: |-
{{ (hostname is search("large")) | ternary("large", "small") }}
node_branch: |-
{{ (hostname is search("unstable")) | ternary("unstable", (
(hostname is search("testing")) | ternary("testing", (
(hostname is search("stable")) | ternary("stable", (
(hostname is search("libp2p")) | ternary("libp2p", "UNKNOWN")
)))))) }}
beacon_node_cont_tag: '{{ node_branch }}-{{ node_size }}'
beacon_node_network: 'prater'
# Split by hostname for more central location
validators_layout:
# 2500 validators per node
'stable-large-01.aws-eu-central-1a.nimbus.prater': { start: 0, end: 2500 }
'stable-large-02.aws-eu-central-1a.nimbus.prater': { start: 2500, end: 5000 }
'stable-large-03.aws-eu-central-1a.nimbus.prater': { start: 5000, end: 7500 }
'stable-large-04.aws-eu-central-1a.nimbus.prater': { start: 7500, end: 10000 }
'stable-large-05.aws-eu-central-1a.nimbus.prater': { start: 10000, end: 12500 }
# 2500 validators per node
'testing-large-01.aws-eu-central-1a.nimbus.prater': { start: 12500, end: 15000 }
'testing-large-02.aws-eu-central-1a.nimbus.prater': { start: 15000, end: 17500 }
'testing-large-03.aws-eu-central-1a.nimbus.prater': { start: 17500, end: 20000 }
'testing-large-04.aws-eu-central-1a.nimbus.prater': { start: 20000, end: 22500 }
'testing-large-05.aws-eu-central-1a.nimbus.prater': { start: 22500, end: 25000 }
# 2500 validators per node
"unstable-large-01.aws-eu-central-1a.nimbus.prater": { start: 25000, end: 27500 }
"unstable-large-02.aws-eu-central-1a.nimbus.prater": { start: 27500, end: 30000 }
"unstable-large-03.aws-eu-central-1a.nimbus.prater": { start: 30000, end: 32500 }
"unstable-large-04.aws-eu-central-1a.nimbus.prater": { start: 32500, end: 35000 }
"unstable-large-05.aws-eu-central-1a.nimbus.prater": { start: 35000, end: 37500 }
# 1250 validators per node
'u-libp2p-s-large-01.aws-eu-central-1a.nimbus.prater': { start: 37500, end: 38750 }
# 1250 validators per node
'u-libp2p-u-large-01.aws-eu-central-1a.nimbus.prater': { start: 38750, end: 40000 }
# Copy correct validators from nimbus-private repo
beacon_node_dist_validators_enabled: true
beacon_node_dist_validators_start: '{{ validators_layout[hostname]["start"] | mandatory }}'
beacon_node_dist_validators_end: '{{ validators_layout[hostname]["end"] | mandatory }}'