From d677afcd40ed8f0731767a514bba20434ae56494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 5 Jul 2024 10:29:25 +0200 Subject: [PATCH] nimbus.fluffy: fix off by one error in port increments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/nimbus.fluffy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/nimbus.fluffy.yml b/ansible/group_vars/nimbus.fluffy.yml index 784977b..ab4fb39 100644 --- a/ansible/group_vars/nimbus.fluffy.yml +++ b/ansible/group_vars/nimbus.fluffy.yml @@ -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 }}'