diff options
Diffstat (limited to 'foreman_ansible_inventory.py')
-rwxr-xr-x | foreman_ansible_inventory.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/foreman_ansible_inventory.py b/foreman_ansible_inventory.py index e42aeb3..8af920c 100755 --- a/foreman_ansible_inventory.py +++ b/foreman_ansible_inventory.py @@ -336,5 +336,6 @@ class ForemanInventory(object): else: return json.dumps(data) -ForemanInventory() +if __name__ == '__main__': + ForemanInventory() |