nimbus.fluffy: fix off by one error in port increments

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-07-05 10:29:25 +02:00
parent d2d277a0f1
commit d677afcd40
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ nimbus_fluffy_repo_branch: 'master'
nimbus_fluffy_log_level: 'INFO'
# Ports
nimbus_fluffy_host_index: '{{ groups["nimbus.fluffy"].index(inventory_hostname) }}'
nimbus_fluffy_listening_addr: '194.33.43.{{ (32 * (nimbus_fluffy_host_index|int + 1)) + index|int }}'
nimbus_fluffy_listening_addr: '194.33.43.{{ (32 * (nimbus_fluffy_host_index|int + 1)) + index|int - 1 }}'
nimbus_fluffy_public_address: '{{ nimbus_fluffy_listening_addr }}'
nimbus_fluffy_listening_port: 9100
nimbus_fluffy_metrics_port: '{{ 9200 + index|int }}'