mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
fixed typo
This commit is contained in:
parent
53821ad4b7
commit
b905f51341
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Inventory(object):
|
||||||
host_list = os.path.join(self.host_list, "")
|
host_list = os.path.join(self.host_list, "")
|
||||||
self.parser = InventoryDirectory(loader=self._loader, filename=host_list)
|
self.parser = InventoryDirectory(loader=self._loader, filename=host_list)
|
||||||
else:
|
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)
|
vars_loader.add_directory(self.basedir(), with_subdir=True)
|
||||||
|
|
||||||
if self.parser:
|
if self.parser:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue