The Ansible Inventory or Hosts file is used to tell Ansible about the hosts it can connect to. The default location for the file is /etc/ansible/hosts, but project-specific inventory files can be created in alternate locations.
See more results on Neeva
Summaries from the best pages on the web
The Ansible Inventory or Ansible Hosts file tells Ansible about the hosts that it can connect to.
The default location for the Ansible inventory file is /etc/ansible/hosts. You can also create project-specific inventory files in alternate locations.
Ansible Inventory File vs Ansible Hosts File