diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 37f6c9764c7..6fd1c54b978 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -292,7 +292,7 @@ class Play(object): nt[k] = special_vars[k] new_tasks.append(nt) if os.path.isfile(handler): - nt = dict(include=pipes.quote(handler), vars=role_vars, role_name=role['role']) + nt = dict(include=pipes.quote(handler), vars=role_vars) for k in special_keys: if k in special_vars: nt[k] = special_vars[k]