From a90e9070cd5cca0514638c91eba06e94aeedd3ad Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 8 Feb 2017 14:07:10 +0000 Subject: [PATCH] No stg ip override in cloud Signed-off-by: Patrick Uiterwijk --- roles/base/templates/iptables/iptables.staging | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/base/templates/iptables/iptables.staging b/roles/base/templates/iptables/iptables.staging index bafe0658d5..d02ba28483 100644 --- a/roles/base/templates/iptables/iptables.staging +++ b/roles/base/templates/iptables/iptables.staging @@ -7,7 +7,9 @@ # 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 %} -A OUTPUT -d 209.132.181.5 -j DNAT --to-destination 10.5.126.88 +{% endif %} COMMIT