mirror of https://github.com/ansible/ansible.git
Allow "role_name : " prefix for notifying handler listen topics (#82854)
* Allow role name prefix for handler task listen topics For example, - name: handler name debug: listen: topic1 can be notified using `topic1`, `role : topic1` if the handler is in a standalone or collection role, and `ns.col.role: topic1` if the role is in a collection, the same way handler names work. changelog * fix changelog and testspull/82917/head
parent
8fec1575e6
commit
b639bd1fd4
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- 'Fix notifying role handlers by listen keyword topics with the "role_name : " prefix (https://github.com/ansible/ansible/issues/82849).'
|
@ -0,0 +1,4 @@
|
||||
- name: test notifying listen namespaced by collection + role
|
||||
set_fact:
|
||||
notify_listen_in_specific_collection_role: True
|
||||
listen: notify_specific_collection_role_listen
|
Loading…
Reference in New Issue