mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fixing a bug in galaxy parsing of text spec file lines
This commit is contained in:
@@ -318,7 +318,7 @@ class GalaxyCLI(CLI):
|
||||
# roles listed in a file, one per line
|
||||
for rline in f.readlines():
|
||||
self.display.debug('found role %s in text file' % str(rline))
|
||||
role = RoleRequirement.role_yaml_parse(rline)
|
||||
role = RoleRequirement.role_yaml_parse(rline.strip())
|
||||
roles_left.append(GalaxyRole(self.galaxy, **role))
|
||||
f.close()
|
||||
except (IOError, OSError) as e:
|
||||
|
||||
Reference in New Issue
Block a user