Categories
October Surprise 2016

ansible inventory file location is it /etc/ansible/hosts or /etc/hosts?

The location of Ansible’s default Inventory file is /etc/ansible/hosts. But you can override the inventory file location/path through the inventory directive in ansible.cfg.