# http://docs.ansible.com/ansible/intro_inventory.html
[all:vars] #host_key_checking=false ansible_ssh_common_args='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' #information_environment=dev #information_product=prod1 #ansible_ssh_user=ubuntu #ansible_ssh_pass=pass1234 #ansible_user=root [example.com] www.example.com db.example.com [all:children] local example.com [local:children] phy.local vm.local [phy:children] phy.local phy.example.com [phy.local] www.local db.local backup.local lxc.local ansible_host=192.168.1.11
Links
https://docs.ansible.com/ansible/2.4/intro_configuration.html#inventory