--- all: children: # Example group structure - customize as needed webservers: hosts: # web1: # ansible_host: 192.168.1.10 dbservers: hosts: # db1: # ansible_host: 192.168.1.20 local: hosts: localhost: ansible_connection: local