mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
parent
a7df2322e4
commit
567e989581
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class InventoryModule(BaseFileInventoryPlugin):
|
||||||
hosts, port = self._parse_host(host_pattern)
|
hosts, port = self._parse_host(host_pattern)
|
||||||
self.populate_host_vars(hosts, group_data['hosts'][host_pattern] or {}, group, port)
|
self.populate_host_vars(hosts, group_data['hosts'][host_pattern] or {}, group, port)
|
||||||
else:
|
else:
|
||||||
self.display.warn('Skipping unexpected key (%s) in group (%s), only "vars", "children" and "hosts" are valid' % (key, group))
|
self.display.warning('Skipping unexpected key (%s) in group (%s), only "vars", "children" and "hosts" are valid' % (key, group))
|
||||||
|
|
||||||
def _parse_host(self, host_pattern):
|
def _parse_host(self, host_pattern):
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue