INI vs YAML Inventory Files
Write hosts in both inventory formats.
What an Inventory Is
An inventory is just a file listing the hosts Ansible can manage. No hosts listed means nothing to automate.
Two Supported Formats
Ansible reads inventories in two flavors: the classic INI style and a structured YAML style. You pick one per file.
All lessons in this course
- INI vs YAML Inventory Files
- Grouping Hosts: web, db & app
- Nested Groups & the children Keyword
- Host & Group Variables in the Inventory