Commit 8dcf386d by James Cammarata

Don't set the role name on handlers as this breaks notifications

parent a5ee6ff1
...@@ -292,7 +292,7 @@ class Play(object): ...@@ -292,7 +292,7 @@ class Play(object):
nt[k] = special_vars[k] nt[k] = special_vars[k]
new_tasks.append(nt) new_tasks.append(nt)
if os.path.isfile(handler): 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: for k in special_keys:
if k in special_vars: if k in special_vars:
nt[k] = special_vars[k] nt[k] = special_vars[k]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment