# examples/inventory.yml # This is an example Ansible inventory file. It defines a set of hosts and groups them into categories. all: # List of all hosts hosts: web1.example.com: web2.example.com: db1.example.com: children: # Group of web servers webservers: hosts: web1.example.com: web2.example.com: # Group of database servers dbservers: hosts: db1.example.com: