Build Custom Inventory from Active Directory?

47 views
Skip to first unread message

Brandon Ellis

unread,
May 2, 2021, 6:54:49 PM5/2/21
to AWX Project
How would I go about building a custom inventory that grabs hosts from AD?

This sounds like something a plugin or inventory script would do, but as of version 17.1 it looks like the support for inventory scripts are gone.

How would I do this?

Wei-Yen Tan

unread,
May 2, 2021, 7:18:11 PM5/2/21
to Brandon Ellis, AWX Project
I can still see this in the interface in 19.  May still need a bit of work.

image.png

I am doing something similar to what you are doing in  a previous version of AWX. So I am creating a script to parse through a data source and generating an inventory  ini file that can then be imported in as a source. 

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/0425ab79-b911-4029-9bb4-76815acf55e8n%40googlegroups.com.

Brandon Ellis

unread,
May 4, 2021, 11:12:43 AM5/4/21
to AWX Project
Yeah, my guess is all of the edit forms seemed to have broken on 17.1, causing my error.

Are you able to share any of the code that you used to do this? Or at the very least could you point me to a source that might help me do so?

Brandon Ellis

unread,
May 4, 2021, 11:16:16 AM5/4/21
to AWX Project
(Even though the edit forms are broken on 17.1, I should be able to still make the source using the API)
Reply all
Reply to author
Forward
0 new messages