summaryrefslogtreecommitdiff
path: root/system/ohai.py
diff options
context:
space:
mode:
Diffstat (limited to 'system/ohai.py')
-rw-r--r--system/ohai.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ohai.py b/system/ohai.py
index d71d581b..222a81e6 100644
--- a/system/ohai.py
+++ b/system/ohai.py
@@ -53,4 +53,5 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
-main()
+if __name__ == '__main__':
+ main()