From 9c8891740c208cc2d704d9796a0223ac3a55b03b Mon Sep 17 00:00:00 2001 From: Michael Perzel Date: Fri, 18 Sep 2015 15:31:34 -0500 Subject: [PATCH] Wrap main() in conditional --- lib/ansible/modules/extras/network/f5/bigip_gtm_wide_ip.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/network/f5/bigip_gtm_wide_ip.py b/lib/ansible/modules/extras/network/f5/bigip_gtm_wide_ip.py index 29298114b83..c6a49f1fa5a 100644 --- a/lib/ansible/modules/extras/network/f5/bigip_gtm_wide_ip.py +++ b/lib/ansible/modules/extras/network/f5/bigip_gtm_wide_ip.py @@ -163,4 +163,6 @@ def main(): # import module snippets from ansible.module_utils.basic import * -main() + +if __name__ == '__main__': + main()