mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Fix to use get_host so it shows up in the list of overall added hosts.
This commit is contained in:
@@ -196,7 +196,7 @@ class IniLoader(BaseLoader):
|
|||||||
tokens = shlex.split(line)
|
tokens = shlex.split(line)
|
||||||
|
|
||||||
if input_mode == 'host':
|
if input_mode == 'host':
|
||||||
new_host = MemHost(tokens[0], self.inventory_base)
|
new_host = self.get_host(tokens[0])
|
||||||
if len(tokens) > 1:
|
if len(tokens) > 1:
|
||||||
variables = {}
|
variables = {}
|
||||||
for t in tokens[1:]:
|
for t in tokens[1:]:
|
||||||
|
|||||||
Reference in New Issue
Block a user