From 74c3e008d2d51cf02da8e04519a7af14b5b40339 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 22 Dec 2015 15:38:29 -0600 Subject: [PATCH] Import module snippets in the correct location --- lib/ansible/modules/extras/system/iptables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/system/iptables.py b/lib/ansible/modules/extras/system/iptables.py index f3ae8da9383..fc6cdb3be5f 100644 --- a/lib/ansible/modules/extras/system/iptables.py +++ b/lib/ansible/modules/extras/system/iptables.py @@ -18,9 +18,6 @@ # You should have received a copy of the GNU General Public License # along with this software. If not, see . -# import module snippets -from ansible.module_utils.basic import * - BINS = dict( ipv4='iptables', ipv6='ip6tables', @@ -363,5 +360,8 @@ def main(): module.exit_json(**args) +# import module snippets +from ansible.module_utils.basic import * + if __name__ == '__main__': main()