ansible-community / ansible.content_builder

A collection to scaffold Ansible plugins.
GNU General Public License v3.0
31 stars 27 forks source link

Scaffolding an inventory plugin #52

Open arusakov-rh opened 1 year ago

arusakov-rh commented 1 year ago
SUMMARY

Use Content Builder to scaffold a plugin that sources an inventory from a given REST API

ISSUE TYPE
COMPONENT NAME

Inventory plugin scaffolding

ADDITIONAL INFORMATION

As an automation developer, I want to be able to obtain a dynamic inventory from an external system (CMDB) that exposes REST API but does not have an inventory plugin made for it (yet). I'd like to be able to pass the OpenAPI/Swagger definition for that API to Content Builder instead of writing an inventory plugin by hand. #1 seems to be a generalisation of that to an arbitrary plugin but despite it being marked as completed the capability to generate inventory plugins doesn't seem to be there yet.