POST /api/ansible_inventories/hosts
Show Ansible inventory for hosts

GET /api/ansible_inventories/hosts
Show Ansible inventory for hosts

POST /api/ansible_inventories/hostgroups
Show Ansible inventory for hostgroups

GET /api/ansible_inventories/hostgroups
Show Ansible inventory for hostgroups

參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

Validations:

  • Must be a Integer

host_ids
必填

IDs of hosts included in inventory

Validations:

  • Must be an array of any type

hostgroup_ids
必填

IDs of hostgroups included in inventory

Validations:

  • Must be an array of any type