From c77a4a7108ec9674d0f4d5a367abe037346f3421 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 --- network/f5/bigip_gtm_wide_ip.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/network/f5/bigip_gtm_wide_ip.py b/network/f5/bigip_gtm_wide_ip.py index 29298114b83..c6a49f1fa5a 100644 --- a/network/f5/bigip_gtm_wide_ip.py +++ b/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()