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:
parent
2a98be3ade
commit
f2777f6496
|
@ -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
|
|
@ -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'
|
Loading…
Reference in New Issue