From 2ff45e328dd80aae7c29ec16f06cb25049ff8bec Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 21 Feb 2020 19:33:17 +0100 Subject: [PATCH] iptables: No stg ip override in aws.fedoraproject.org Complements a90e9070cd5cca0514638c91eba06e94aeedd3ad --- 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 73918ccd6f..db84ccb307 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 and 'aws.fedoraproject.org' not in inventory_hostname %} -A OUTPUT -d 209.132.181.5 -j DNAT --to-destination 10.5.128.177 {% endif %}