From 945862b876841d959f6bd8952e68c4d4159e3b2a Mon Sep 17 00:00:00 2001 From: Pavel Samokha Date: Fri, 13 May 2016 16:49:58 +0300 Subject: [PATCH] fix icmp-type --- lib/ansible/modules/extras/system/iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/iptables.py b/lib/ansible/modules/extras/system/iptables.py index 98ce013793..4373a7a5e2 100644 --- a/lib/ansible/modules/extras/system/iptables.py +++ b/lib/ansible/modules/extras/system/iptables.py @@ -347,7 +347,7 @@ def construct_rule(params): append_param(rule, params['uid_owner'], '--uid-owner', False) append_jump(rule, params['reject_with'], 'REJECT') append_param(rule, params['reject_with'], '--reject-with', False) - append_param(rule, params['icmp_type'], '--icmp_type', False) + append_param(rule, params['icmp_type'], '--icmp-type', False) return rule