The default location for inventory is a file called /etc/ansible/hosts.

You can specify a different inventory file at the command line using the -i <path> option.

Working with dynamic Ansible inventory


Comments