From fb3aec47cae8b766dd89a1ebabe51cb85db1f0ce Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 3 Nov 2015 12:03:00 -0500 Subject: [PATCH] fixed default from None to [] for ctstate --- 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 29010b730e..e78295cc29 100644 --- a/lib/ansible/modules/extras/system/iptables.py +++ b/lib/ansible/modules/extras/system/iptables.py @@ -313,7 +313,7 @@ def main(): destination_port=dict(required=False, default=None, type='str'), to_ports=dict(required=False, default=None, type='str'), comment=dict(required=False, default=None, type='str'), - ctstate=dict(required=False, default=None, type='list'), + ctstate=dict(required=False, default=[], type='list'), ), ) args = dict(