From f4f20c7c2059124d90b785ad2973639011548518 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Mon, 10 Aug 2015 15:52:03 +0200 Subject: [PATCH] cloudstack: sync cs_facts with best practices --- lib/ansible/modules/extras/cloud/cloudstack/cs_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/cloudstack/cs_facts.py b/lib/ansible/modules/extras/cloud/cloudstack/cs_facts.py index e2bebf8b11..11230b4c22 100644 --- a/lib/ansible/modules/extras/cloud/cloudstack/cs_facts.py +++ b/lib/ansible/modules/extras/cloud/cloudstack/cs_facts.py @@ -218,4 +218,5 @@ def main(): from ansible.module_utils.basic import * from ansible.module_utils.urls import * from ansible.module_utils.facts import * -main() +if __name__ == '__main__': + main()