From 32a6f979818d355895c7b1a6479ca545fac339a2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 18 Sep 2019 16:50:46 +0200 Subject: [PATCH] fix default rules --- molecule/ec2-centos-7/tests/test_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/ec2-centos-7/tests/test_default.py b/molecule/ec2-centos-7/tests/test_default.py index 07a4128..9ab8dfe 100644 --- a/molecule/ec2-centos-7/tests/test_default.py +++ b/molecule/ec2-centos-7/tests/test_default.py @@ -25,7 +25,7 @@ def test_iptables_default_rules(host): '-P INPUT ACCEPT', '-A INPUT -m state --state RELATED,ESTABLISHED -m comment --comment "ansible[iptables_default_head]" -j ACCEPT', '-A INPUT -i lo -m comment --comment "ansible[iptables_default_head]" -j ACCEPT', - '-A INPUT -p icmp --icmp-type 8 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT', + '-A INPUT -p icmp -m icmp --icmp-type 8 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT', '-A INPUT -p tcp -m tcp --dport 22 -m comment --comment "ansible[iptables_default_head]" -j ACCEPT', '-A INPUT -j REJECT' ]