diff --git a/lib/ansible/modules/system/iptables.py b/lib/ansible/modules/system/iptables.py index ce6e89c5436..391fcd6d1ef 100644 --- a/lib/ansible/modules/system/iptables.py +++ b/lib/ansible/modules/system/iptables.py @@ -406,8 +406,6 @@ def construct_rule(params): elif params['ctstate']: append_match(rule, params['ctstate'], 'conntrack') append_csv(rule, params['ctstate'], '--ctstate') - else: - return False append_match(rule, params['limit'] or params['limit_burst'], 'limit') append_param(rule, params['limit'], '--limit', False) append_param(rule, params['limit_burst'], '--limit-burst', False)