1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #10720 from mscherer/fix_roles_requirements

Fix variable name
This commit is contained in:
Toshio Kuratomi 2015-04-15 09:14:15 -07:00
commit 1aff837ab8

View file

@ -92,7 +92,7 @@ class RoleRequirement(RoleDefinition):
ds["scm"] = scm ds["scm"] = scm
ds["src"] = src ds["src"] = src
if 'name' in role: if 'name' in ds:
ds["role"] = ds["name"] ds["role"] = ds["name"]
del ds["name"] del ds["name"]
else: else: