Pass an inventory file using POST Payload

Hi Experts

How can I inject an inventory JSON file to push into Templates dynamically inside AAP. now I sending the hostname using the limit parameter but if the host is not present inside the Inventory file of the template it is failing … pls let me know how to create/push the dynamic inventory…

I found the solution… I post the hosts using api to the the template inventory… Just like I launch the template using Ansible API

1 Like