mirror of https://github.com/ansible/ansible.git
parent
c9f20aedc0
commit
10eda5801a
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix conditionally notifying ``include_tasks` handlers when ``force_handlers`` is used (https://github.com/ansible/ansible/issues/79776)
|
@ -0,0 +1,2 @@
|
||||
- debug:
|
||||
msg: "Handler for {{ inventory_hostname }}"
|
@ -0,0 +1,10 @@
|
||||
- hosts: A,B
|
||||
gather_facts: false
|
||||
force_handlers: true
|
||||
tasks:
|
||||
- command: echo
|
||||
notify: handler1
|
||||
when: inventory_hostname == "A"
|
||||
handlers:
|
||||
- name: handler1
|
||||
include_tasks: 79776-handlers.yml
|
Loading…
Reference in New Issue