summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-09-17 07:47:51 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-09-17 07:47:51 -0400
commitee840f302935022c950a026e006591e6c43d71ca (patch)
tree22cdeb90ea3abaf0db31ba5881269d6612b1e90e
parent3db8070aa36db3ecd927b1f2cfe8ff680f7a105d (diff)
downloadansible-ee840f302935022c950a026e006591e6c43d71ca.tar.gz
fixed function signature
-rw-r--r--lib/ansible/inventory/dir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/inventory/dir.py b/lib/ansible/inventory/dir.py
index b95a18e3f1..9394696d7f 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