Skip to content

Glossary: Ansible and Server Automation

ansible-inventory

A command that shows what Ansible read from your inventory. `--graph` draws the groups and hosts, `--list` prints everything as JSON, and `--host NAME` shows one host's variables.

Where the book teaches it

Related terms

InventoryJSON (JavaScript Object Notation)