From ec68c3ce3973d047bc907a4c3d53351afb789d3c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 8 Feb 2017 14:31:56 +0000 Subject: [PATCH] Make it not match autocloud01 Signed-off-by: Patrick Uiterwijk --- roles/base/templates/iptables/iptables.staging | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/templates/iptables/iptables.staging b/roles/base/templates/iptables/iptables.staging index d02ba28483..a97f260d92 100644 --- a/roles/base/templates/iptables/iptables.staging +++ b/roles/base/templates/iptables/iptables.staging @@ -7,7 +7,7 @@ # Redirect staging attempts to talk to the external proxy to an internal ip. # This is primarily for openid in staging which needs to get around proxy # redirects. -{% if 'cloud' not in inventory_hostname %} +{% if 'cloud.' not in inventory_hostname %} -A OUTPUT -d 209.132.181.5 -j DNAT --to-destination 10.5.126.88 {% endif %}