Skip to content

Instantly share code, notes, and snippets.

View jonnymccullagh's full-sized avatar

Jonny McCullagh jonnymccullagh

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jonnymccullagh on github.
  • I am jonnymccullagh (https://keybase.io/jonnymccullagh) on keybase.
  • I have a public key ASDw82lN24kcumdABybktXtPln4mVPWqauZPRvU4SLvvJwo

To claim this, I am signing this object:

@jonnymccullagh
jonnymccullagh / export-awx-inventory.py
Created November 19, 2020 12:55 — forked from rpetti/export-awx-inventory.py
Export Ansible AWX/Tower Inventory to a standard Inventory
#!/usr/bin/python
import requests
import argparse
import sys
parser = argparse.ArgumentParser(description='Convert Ansible AWX/Tower Inventory to standard inventory')
parser.add_argument('--url', required=True, help='base url of AWX/Tower')
parser.add_argument('-u', '--username', help='username')