How to use ansible inventory plugins in awx

561 views
Skip to first unread message

Daniel Bacher

unread,
Jul 8, 2019, 11:45:08 AM7/8/19
to AWX Project
Hi,

i want to import my inventory from my netbox instance. Ansible has a good plugin for that.

How can I use this plugin with awx?

Regards

Daniel

Alan Rominger

unread,
Jul 9, 2019, 7:40:27 AM7/9/19
to Daniel Bacher, AWX Project
Right now our solution is for you to put the nextbox.yml config in your source control, and then add an inventory source that sources from that project.

You can create custom credential types for secrets management, keeping this separate from your inventory config. Inventory plugins have generally allowed specifying secret fields via environment vars (which we have been pushing for AWX compatibility), in this case, NETBOX_TOKEN or NETBOX_API_KEY.

Alan
github: AlanCoding


--
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/8734c769-6f44-43e0-bb16-f1577c2bd160%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages