nimbus.fluffy: configure 32 nodes on each host

https://github.com/status-im/infra-nimbus/issues/87

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-08 15:50:03 +01:00
parent 2a98be3ade
commit f2777f6496
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 34 additions and 0 deletions

19
ansible/fluffy.yml Normal file
View File

@ -0,0 +1,19 @@
---
- name: Verify Ansible versions
hosts: all
tags: always
become: false
run_once: true
gather_facts: false
tasks:
- local_action: command ./versioncheck.py
changed_when: false
- name: Configure Nimbus Fluffy nodes
become: true
hosts:
- nimbus.fluffy
tasks:
- include_role: name=infra-role-nimbus-fluffy
tags: [ beacon-node, infra-role-nimbus-fluffy ]
with_sequence: start=1 end=32

View File

@ -0,0 +1,15 @@
---
nimbus_fluffy_service_name: 'nimbus-fluffy-{{ nimbus_fluffy_network }}-{{ nimbus_fluffy_repo_branch }}-{{ "%02d"|format(item|int) }}'
nimbus_fluffy_network: 'mainnet'
nimbus_fluffy_repo_branch: 'master'
# General
nimbus_fluffy_log_level: 'INFO'
# Ports
nimbus_fluffy_listening_port: '{{ 9100 + item|int }}'
nimbus_fluffy_metrics_port: '{{ 9200 + item|int }}'
nimbus_fluffy_rpc_port: '{{ 9900 + item|int }}'
# One build for all nodes
nimbus_fluffy_repo_path: '/data/nimbus-fluffy/repo'
nimbus_fluffy_build_service_name: 'build-nimbus-fluffy-{{ nimbus_fluffy_network }}-{{ nimbus_fluffy_repo_branch }}'
nimbus_fluffy_build_restart_service: 'nimbus-fluffy-*.service'
nimbus_fluffy_build_script_path: '/data/nimbus-fluffy/build.sh'