From ee840f302935022c950a026e006591e6c43d71ca Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 17 Sep 2015 07:47:51 -0400 Subject: [PATCH] fixed function signature --- lib/ansible/inventory/dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/dir.py b/lib/ansible/inventory/dir.py index b95a18e3f1e..9394696d7fb 100644 --- a/lib/ansible/inventory/dir.py +++ b/lib/ansible/inventory/dir.py @@ -109,7 +109,7 @@ class InventoryDirectory(object): if os.path.isdir(fullpath): parser = InventoryDirectory(loader=loader, filename=fullpath) else: - parser = get_file_parser(fullpath, loader) + parser = get_file_parser(fullpath, self.groups, loader) if parser is None: #FIXME: needs to use display import warnings