INI
A simple text file format of [section] headings followed by key=value lines.
In more detail
The name comes from the .ini initialisation files of early Windows. There is no single standard, so details such as comments and quoting vary between programs, and every value is plain text.
Examples
An INI inventory: [webservers] names a group and web[1:3].example.com under it names three hosts.ansible.cfg is an INI file whose settings sit under [defaults].Related terms
- YAML — A human-friendly text format for configuration, where indentation shows structure.
- static inventory — An inventory written by hand in a file and committed, suitable when the set of machines changes rarely and on purpose.
- ansible.cfg — Ansible's INI-format settings file; a copy in the project directory sets options such as the inventory location and forks for everyone who runs there.
Taught in
- Ansible Architecture And The Control Node — Ansible Configuration Management at Scale
- The Static Inventory File — Ansible Configuration Management at Scale
- Performance, Forks And Best Practices — Ansible Configuration Management at Scale
- Two Environments That Should Have Been Twins — CompTIA Cloud+ (CV0-004) Exam Prep
- Static Inventories: Hosts, Groups And Groups Of Groups — RHCE in Ansible (EX294): Automate Red Hat Systems
- Inventory Variables: Ranges, group_vars And host_vars — RHCE in Ansible (EX294): Automate Red Hat Systems