diff --git a/cloud/cloudstack/cs_facts.py b/cloud/cloudstack/cs_facts.py index e2bebf8b116..11230b4c229 100644 --- a/cloud/cloudstack/cs_facts.py +++ b/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()