summaryrefslogtreecommitdiff
path: root/lib/ansible/inventory
diff options
context:
space:
mode:
authorSloane Hertel <shertel@redhat.com>2018-06-29 11:48:35 -0400
committerBrian Coca <bcoca@users.noreply.github.com>2018-06-29 11:48:35 -0400
commit44e58863855b939de2e5911f94e291d36bad7516 (patch)
tree0297a4cc0ea7215b0ad0b6950ec7c4ec1914a4a5 /lib/ansible/inventory
parentaea396f04bfa40aee231b277e144b198128a75c7 (diff)
downloadansible-44e58863855b939de2e5911f94e291d36bad7516.tar.gz
Fix setting required options for inventory plugins (#42049)
* Fix setting required options for inventory plugins * call set_options for yaml and script plugin
Diffstat (limited to 'lib/ansible/inventory')
-rw-r--r--lib/ansible/inventory/manager.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ansible/inventory/manager.py b/lib/ansible/inventory/manager.py
index 99f29cbacc..e93884eecd 100644
--- a/lib/ansible/inventory/manager.py
+++ b/lib/ansible/inventory/manager.py
@@ -183,7 +183,6 @@ class InventoryManager(object):
for name in C.INVENTORY_ENABLED:
plugin = inventory_loader.get(name)
if plugin:
- plugin.set_options()
self._inventory_plugins.append(plugin)
else:
display.warning('Failed to load inventory plugin, skipping %s' % name)