aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xforeman_ansible_inventory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/foreman_ansible_inventory.py b/foreman_ansible_inventory.py
index 926ade8..df838e0 100755
--- a/foreman_ansible_inventory.py
+++ b/foreman_ansible_inventory.py
@@ -392,6 +392,7 @@ class ForemanInventory(object):
else:
return json.dumps(data)
+
if __name__ == '__main__':
inv = ForemanInventory()
sys.exit(not inv.run())