Type object
File match inventory.yml inventory.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/ansible-inventory/latest.json
Source https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/inventory.json

Validate with Lintel

npx @lintel/lintel check
Type: object

All keys at top levels are groups with all and ungrouped having a special meaning.

See How to build your inventory

Properties

all object
4 nested properties
children object | null
groups object | null
hosts object | null
vars object | null
ungrouped object | null
3 nested properties
children
hosts object | string
vars object

Definitions

group object | null
children
hosts object | string
vars object
special-group object
children object | null
groups object | null
hosts object | null
vars object | null

Examples

"inventory.yaml" "inventory.yml" "inventory/*.yml" "inventory/*.yaml"