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
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

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