mirror of https://github.com/ansible/ansible.git
Fix task get_name to always prepend the role name (#72511)
* Fix 'role_name : tast_name' notation if task contains role name * Add tests for notifying handler names which contain the role name Co-authored-by: Thomas Wouters <thomaswouters@gmail.com>pull/72523/head
parent
c8590c7482
commit
0ed7bfc694
@ -0,0 +1,3 @@
|
|||||||
|
bugfixes:
|
||||||
|
- 'Fix notifying handlers via `role_name : handler_name` when handler name contains the role name. (https://github.com/ansible/ansible/issues/70582)'
|
||||||
|
- 'Fix --list-tasks format `role_name : task_name` when task name contains the role name. (https://github.com/ansible/ansible/issues/72505)'
|
@ -1,7 +1,16 @@
|
|||||||
- debug:
|
- name: Fire fqcn handler 1
|
||||||
|
debug:
|
||||||
msg: Fire fqcn handler
|
msg: Fire fqcn handler
|
||||||
changed_when: true
|
changed_when: true
|
||||||
notify:
|
notify:
|
||||||
- 'testns.testcoll.common_handlers : test_fqcn_handler'
|
- 'testns.testcoll.common_handlers : test_fqcn_handler'
|
||||||
- 'common_handlers : test_fqcn_handler'
|
- 'common_handlers : test_fqcn_handler'
|
||||||
- 'test_fqcn_handler'
|
- 'test_fqcn_handler'
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: Fire fqcn handler with role name
|
||||||
|
changed_when: true
|
||||||
|
notify:
|
||||||
|
- 'testns.testcoll.common_handlers : common_handlers test_fqcn_handler'
|
||||||
|
- 'common_handlers : common_handlers test_fqcn_handler'
|
||||||
|
- 'common_handlers test_fqcn_handler'
|
||||||
|
Loading…
Reference in New Issue