nimbus.fluffy: add loop_var, include consul fixes

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-16 00:58:05 +01:00
parent d33ec7037e
commit 71a0430e1c
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
3 changed files with 12 additions and 5 deletions

View File

@ -17,3 +17,5 @@
- include_role: name=infra-role-nimbus-fluffy
tags: [ beacon-node, infra-role-nimbus-fluffy ]
with_sequence: start=1 end=32
loop_control:
loop_var: index

View File

@ -1,13 +1,13 @@
---
nimbus_fluffy_service_name: 'nimbus-fluffy-{{ nimbus_fluffy_network }}-{{ nimbus_fluffy_repo_branch }}-{{ "%02d"|format(item|int) }}'
nimbus_fluffy_service_name: 'nimbus-fluffy-{{ nimbus_fluffy_network }}-{{ nimbus_fluffy_repo_branch }}-{{ "%02d"|format(index|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 }}'
nimbus_fluffy_listening_port: '{{ 9100 + index|int }}'
nimbus_fluffy_metrics_port: '{{ 9200 + index|int }}'
nimbus_fluffy_rpc_port: '{{ 9900 + index|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 }}'

View File

@ -16,7 +16,7 @@
- name: infra-role-bootstrap-linux
src: git@github.com:status-im/infra-role-bootstrap-linux.git
version: 05d877a869748b2cf8e539bd9cb00e881471556e
version: 7280600c2c6cf532fdbbbb31481fdb068dd0573e
scm: git
- name: infra-role-bootstrap-windows
@ -64,6 +64,11 @@
version: 3a1a651d92f7533b974ad74e69956fb815bd9fbe
scm: git
- name: infra-role-nimbus-fluffy
src: git@github.com:status-im/infra-role-nimbus-fluffy.git
version: e448cb369a9b2813f852bf4340ed463678b22431
scm: git
- name: infra-role-dist-validators
src: git@github.com:status-im/infra-role-dist-validators.git
version: 57a92fb68903127872b5926e1598d71f744de7f5