Fix to use get_host so it shows up in the list of overall added hosts.

This commit is contained in:
Michael DeHaan 2013-07-14 17:16:51 -04:00
parent d23e2345af
commit 4d8b039074

View File

@ -196,7 +196,7 @@ class IniLoader(BaseLoader):
tokens = shlex.split(line)
if input_mode == 'host':
new_host = MemHost(tokens[0], self.inventory_base)
new_host = self.get_host(tokens[0])
if len(tokens) > 1:
variables = {}
for t in tokens[1:]: