0 votes
in Ansible by

What is the default location of the Ansible inventory file?

a) /etc/ansible/hosts

b) /etc/ansible/inventory

c) /etc/ansible/hosts.ini

d) /etc/ansible/inventory.ini

1 Answer

0 votes
by

Answer: a) /etc/ansible/hosts

Explanation: The default location of the Ansible inventory file is /etc/ansible/hosts. This can be changed by setting the inventory variable in the ansible.cfg file.

...