Import module snippets in the correct location

pull/18777/head
Matt Martz 9 years ago committed by Matt Clay
parent 22733a7574
commit 74c3e008d2

@ -18,9 +18,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this software. If not, see <http://www.gnu.org/licenses/>. # along with this software. If not, see <http://www.gnu.org/licenses/>.
# import module snippets
from ansible.module_utils.basic import *
BINS = dict( BINS = dict(
ipv4='iptables', ipv4='iptables',
ipv6='ip6tables', ipv6='ip6tables',
@ -363,5 +360,8 @@ def main():
module.exit_json(**args) module.exit_json(**args)
# import module snippets
from ansible.module_utils.basic import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

Loading…
Cancel
Save