From b905f513412f456babf55b2424fc0ede8dd61902 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 13 Aug 2015 11:05:20 -0400 Subject: [PATCH] fixed typo --- lib/ansible/inventory/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index b738c77b17..87cc205305 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -110,7 +110,7 @@ class Inventory(object): host_list = os.path.join(self.host_list, "") self.parser = InventoryDirectory(loader=self._loader, filename=host_list) else: - self.parser = get_file_parser(hostsfile, self._loader) + self.parser = get_file_parser(host_list, self._loader) vars_loader.add_directory(self.basedir(), with_subdir=True) if self.parser: