mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Merge pull request #14044 from skorochkin/devel
Adding support for scm-based role source urls (ansible-galaxy)
This commit is contained in:
@@ -385,7 +385,8 @@ class GalaxyCLI(CLI):
|
||||
# roles were specified directly, so we'll just go out grab them
|
||||
# (and their dependencies, unless the user doesn't want us to).
|
||||
for rname in self.args:
|
||||
roles_left.append(GalaxyRole(self.galaxy, rname.strip()))
|
||||
role = RoleRequirement.role_yaml_parse(rname.strip())
|
||||
roles_left.append(GalaxyRole(self.galaxy, **role))
|
||||
|
||||
for role in roles_left:
|
||||
display.vvv('Installing role %s ' % role.name)
|
||||
@@ -681,4 +682,3 @@ class GalaxyCLI(CLI):
|
||||
display.display(resp['status'])
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user