0 votes
in Ansible by

How can you specify the location of the inventory file in the Ansible Config file?

a) inventory = /path/to/inventory

b) inventory_file = /path/to/inventory

c) inventory_path = /path/to/inventory

d) inventory-location = /path/to/inventory

1 Answer

0 votes
by

Solution: b) inventory_file = /path/to/inventory

Explanation: To specify the location of the inventory file in the Ansible Config file, you can use the inventory_file option. The value should be the full path to the inventory file.

...