Skip to content

Instantly share code, notes, and snippets.

View shklpshs's full-sized avatar

shklpshs

  • 20:00 (UTC +04:00)
View GitHub Profile
@shklpshs
shklpshs / ahv_inventory.py
Created November 5, 2022 17:24 — forked from gowatana/ahv_inventory.py
ansible dynamic inventory script for Nutanix Prism
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import json
import requests
# args = sys.argv
# conf_file = args[1]
conf_file = "/home/gowatana/prism-config.json"