mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Don't set the role name on handlers as this breaks notifications
This commit is contained in:
parent
a5ee6ff1e5
commit
8dcf386def
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue