mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 19:01:14 +00:00
Fix variable name
There is no 'role' variable, and given the test and code after, that's likely a test on 'ds'
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user