Ansible Inventory File

From bib. source

Ansible uses an inventory file (basically, a list of servers) to communicate with your servers. Like a hosts file (at /etc/hosts[sic]) that matches IP addresses to domain names, an Ansible inventory file matches servers (IP addresses or domain names) to groups.

An Ansible inventory file can then be thought of as an INI configuration file declaring a mapping of group names to sets of server addresses.

configuration configuration_management inventory_file IP_address Internet_Protocol_address Internet_Protocol domain_name domain_names fully_qualified_domain_names fully_qualified_domain_name FQDN configuration_file set set_theory


bibliography

  • “Getting Started with Ansible.” In Ansible for DevOps: Server and Configuration Management for Humans, 2nd ed., 1–8. Leanpub, 2023.