1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix inventory loading for ansible-doc

fixes #31995
This commit is contained in:
Brian Coca 2017-10-20 12:53:13 -04:00 committed by Brian Coca
parent 36b13e3e3d
commit 90e8071d48

View file

@ -95,7 +95,7 @@ class DocCLI(CLI):
elif plugin_type == 'vars':
loader = vars_loader
elif plugin_type == 'inventory':
loader = PluginLoader('InventoryModule', 'ansible.plugins.inventory', 'inventory_plugins', 'inventory_plugins')
loader = PluginLoader('InventoryModule', 'ansible.plugins.inventory', C.DEFAULT_INVENTORY_PLUGIN_PATH, 'inventory_plugins')
else:
loader = module_loader