mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-12 20:00:58 +00:00
@@ -608,7 +608,7 @@ class InventoryManager(object):
|
||||
for x in subset_patterns:
|
||||
if x.startswith("@"):
|
||||
fd = open(x[1:])
|
||||
results.extend(fd.read().split("\n"))
|
||||
results.extend([l.strip() for l in fd.read().split("\n")])
|
||||
fd.close()
|
||||
else:
|
||||
results.append(x)
|
||||
|
||||
Reference in New Issue
Block a user