mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Don't set the role name on handlers as this breaks notifications
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user