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

Params

Param Name Description
location_id
Optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
Optional

Scope by organizations

Validations:

  • Must be a Integer

host_ids
Required

IDs of hosts included in inventory

Validations:

  • Must be an array of any type

hostgroup_ids
Required

IDs of hostgroups included in inventory

Validations:

  • Must be an array of any type