From 8dcf386def195d366e7e0f8efeb11f657d80f2ce Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 20 Sep 2013 09:34:14 -0500 Subject: [PATCH] Don't set the role name on handlers as this breaks notifications --- lib/ansible/playbook/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]