From fea73a13aa31a2ce8e6d8b825e58e7032a1b203a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Thu, 7 May 2020 20:23:30 +0200 Subject: [PATCH] aurore-firewall: correct backup router ip --- roles/aurore-firewall/templates/firewall_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/aurore-firewall/templates/firewall_config.py b/roles/aurore-firewall/templates/firewall_config.py index d782cdb..052c6d2 100644 --- a/roles/aurore-firewall/templates/firewall_config.py +++ b/roles/aurore-firewall/templates/firewall_config.py @@ -58,7 +58,7 @@ nat = [ }, 'ip_sources' : '10.{{ subnet_ids.users_wired }}.0.0/16', 'extra_nat' : { - '10.129.{{ apartment_block_id }}.240' : '45.66.108.25{{ apartment_block_id }}' + '10.129.{{ apartment_block_id }}.{{ '1' if "backup" in inventory_hostname else '2' }}40' : '45.66.108.25{{ apartment_block_id }}' } } ]