mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Merge pull request #10720 from mscherer/fix_roles_requirements
Fix variable name
This commit is contained in:
commit
1aff837ab8
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class RoleRequirement(RoleDefinition):
|
|||
ds["scm"] = scm
|
||||
ds["src"] = src
|
||||
|
||||
if 'name' in role:
|
||||
if 'name' in ds:
|
||||
ds["role"] = ds["name"]
|
||||
del ds["name"]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue