-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
2.3, 2.4
-
False
-
-
False
What is the nature and description of the request?
Desired Process
We want the ability to create inventory with an arbitrary list of servers in the initial payload and Ansible Controller will create the inventory containing the provided list of servers.
Current Process
- We create inventory via POST to /api/v2/inventory/ (https://docs.ansible.com/automation-controller/latest/html/controllerapi/api_ref.html#/Inventories/Inventories_inventories_create)
- Organization ID is required (INT) to make this API call so additional API call functionality would be needed to pull the organization ID (see RFE# above)
- Furthermore /api/v2/organizations/{name}
- We populate inventory POST to /api/v2/bulk/host_create/ (https://docs.ansible.com/automation-controller/latest/html/controllerapi/api_ref.html#/Bulk)
Why does the customer need this? (List the business requirements here)
Business Impact
Less code required to integrate with Ansible controllers into the bank’s ecosystem overall. Less API calls required to create an inventory. Making integration into the ecosystem simpler.
Technical Impact
Multiple API calls across multiple deployments of AAP produces unnecessary overhead on the AAP infrastructure for POST of inventory creation and subsequent inventory server population.
Scale Impact
Less API calls would be required and less prone to denial of service and performance degradation of the Controller API.